From 6a43030a8f8c16784d71f3c66ab8412861971582 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Fri, 25 Mar 2022 18:19:57 -0400 Subject: [PATCH] copy a .map file to www/ when building --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b523c3a4..ebc4e7dd6 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "prebuild": "npm run clean", "test": "./test/run_tests_and_server.sh", "dev": "webpack --progress --colors --config webpack.config.js --mode=development", - "build": "webpack --progress --colors --config webpack.config.js --mode=production && cp dist/webgazer.js www/. && cp dist/webgazer.js www/data/src/.", + "build": "webpack --progress --colors --config webpack.config.js --mode=production && cp dist/webgazer.js www/. && cp dist/webgazer.js www/data/src/. && cp dist/webgazer.js.map www/. && cp dist/webgazer.js.map www/data/src/.", "gen_docs": "jsdoc -c jsdoc.conf.json src/*" }, "files": [