This PR updates the build process in the ws-scrcpy repository to use esbuild instead of webpack. It also removes unnecessary dependencies from the package.json file and addresses the extra dependencies in the output build directory. Additionally, the PR takes into account the usage of web workers and wasm in the project.
Summary of Changes
Updated the "scripts" section in package.json to use esbuild for building instead of webpack.
Removed unnecessary dependencies from the "dependencies" section in package.json.
Modified webpack/ws-scrcpy.common.ts to use esbuild instead of webpack.
Modified webpack/ws-scrcpy.dev.ts to use esbuild instead of webpack.
Modified webpack/ws-scrcpy.prod.ts to use esbuild instead of webpack.
Modified webpack/default.build.config.json to use esbuild instead of webpack.
Please review these changes and let me know if any further modifications are required.
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/use-esbuild_2
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR updates the build process in the ws-scrcpy repository to use esbuild instead of webpack. It also removes unnecessary dependencies from the package.json file and addresses the extra dependencies in the output build directory. Additionally, the PR takes into account the usage of web workers and wasm in the project.
Summary of Changes
Please review these changes and let me know if any further modifications are required.
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.