Skip to content

Commit a47d91d

Browse files
committed
Add development mode for webpack in package.json
Seems like we have to explicitly tell the new webpack version that we want to use the development environment. This provides us with source maps and similar. This patch adds the commandline option in our scripts in package.json Signed-off-by: Sheogorath <[email protected]>
1 parent d9ba11b commit a47d91d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test": "npm run-script standard && npm run-script jsonlint",
99
"jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done",
1010
"standard": "node ./node_modules/standard/bin/cmd.js",
11-
"dev": "webpack --config webpack.config.js --progress --colors --watch",
11+
"dev": "webpack --config webpack.config.js --mode=production --progress --colors --watch",
1212
"build": "webpack --config webpack.production.js --progress --colors --bail",
1313
"postinstall": "bin/heroku",
1414
"start": "node app.js",

0 commit comments

Comments
 (0)