This PR updates the project to use esbuild instead of webpack for building. It includes modifications to the build configurations, scripts, and dependencies.
Summary of Changes
Modified package.json to update the "scripts" section to use esbuild for building and removed unnecessary dependencies related to webpack.
Removed webpack configurations and replaced them with esbuild configurations in webpack/ws-scrcpy.dev.ts and webpack/ws-scrcpy.prod.ts.
Updated the "compilerOptions" section in tsconfig.json to set the target to "es2017".
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/use-esbuild_1
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 project to use esbuild instead of webpack for building. It includes modifications to the build configurations, scripts, and dependencies.
Summary of Changes
package.json
to update the "scripts" section to use esbuild for building and removed unnecessary dependencies related to webpack.webpack/ws-scrcpy.dev.ts
andwebpack/ws-scrcpy.prod.ts
.tsconfig.json
to set the target to "es2017".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.