Include source maps in electron package

This will make the electron dev tools work like the web version.
This commit is contained in:
Martin Fournier 2022-01-04 08:26:10 -05:00
parent dfae337d26
commit ac0bcbca8e

@ -16,6 +16,10 @@ cp main.css .package/main.css
cp dist/vendor.bundle.js .package/dist/vendor.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
cd electron
npm install