Skip to content

Commit

Permalink
copy a .map file to www/ when building
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhuang committed Mar 25, 2022
1 parent f3ce75f commit 6a43030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 6a43030

Please sign in to comment.