Merge pull request #2325 from MartinFournier/feature/electron-add-sourcemaps

Include source maps in electron package
This commit is contained in:
hydroflame 2022-01-04 12:54:21 -05:00 committed by GitHub
commit 52ca4c177a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,6 +16,10 @@ cp main.css .package/main.css
cp dist/vendor.bundle.js .package/dist/vendor.bundle.js cp dist/vendor.bundle.js .package/dist/vendor.bundle.js
cp main.bundle.js .package/main.bundle.js cp main.bundle.js .package/main.bundle.js
# Source maps
cp dist/vendor.bundle.js.map .package/dist/vendor.bundle.js.map
cp main.bundle.js.map .package/main.bundle.js.map
# Install electron sub-dependencies # Install electron sub-dependencies
cd electron cd electron
npm install npm install