This PR replaces the usage of webpack with esbuild for building the project. It also updates the relevant configurations and settings to align with esbuild. Additionally, it addresses the extra dependencies in the output build directory and ensures compatibility with web workers and wasm.
Summary of Changes
Modified webpack/build.config.utils.ts to use esbuild instead of webpack and updated relevant configurations.
Updated webpack/default.build.config.json to align with esbuild.
Updated webpack/ws-scrcpy.common.ts to align with esbuild.
Updated webpack/ws-scrcpy.dev.ts to align with esbuild.
Updated webpack/ws-scrcpy.prod.ts to align with esbuild.
Modified package.json to update the build scripts 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_3
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 replaces the usage of webpack with esbuild for building the project. It also updates the relevant configurations and settings to align with esbuild. Additionally, it addresses the extra dependencies in the output build directory and ensures compatibility with web workers and wasm.
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.