We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b41ba commit eb55502Copy full SHA for eb55502
package.json
@@ -4,11 +4,11 @@
4
"description": "Uploads compiled assets to s3 after build",
5
"main": "dist/s3_plugin.js",
6
"scripts": {
7
- "build": "webpack",
+ "build": "webpack --mode production",
8
"prepublishOnly": "npm run lint && npm run test && npm run build",
9
"test": "NODE_ENV='test' mocha -t 10000 --require babel-register",
10
"lint": "eslint ./src ./test",
11
- "watch": "webpack --watch",
+ "watch": "webpack --watch --mode development",
12
"prep:major": "npm run build && npm version major",
13
"prep:minor": "npm run build && npm version minor",
14
"prep:patch": "npm run build && npm version patch"
0 commit comments