From ac0bcbca8e0effb28ead690145dd359e695000c9 Mon Sep 17 00:00:00 2001 From: Martin Fournier Date: Tue, 4 Jan 2022 08:26:10 -0500 Subject: [PATCH] Include source maps in electron package This will make the electron dev tools work like the web version. --- package.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.sh b/package.sh index cf8b13847..94dbb9306 100755 --- a/package.sh +++ b/package.sh @@ -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