Skip to content

Commit 067fe38

Browse files
committed
fix(npm): npm run build as production
it prevent unnecessary power-assert module
1 parent 572464e commit 067fe38

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
@@ -22,7 +22,7 @@
2222
"test": "test"
2323
},
2424
"scripts": {
25-
"build": "babel src --out-dir lib --source-maps",
25+
"build": "NODE_ENV=production babel src --out-dir lib --source-maps",
2626
"watch": "babel src --out-dir lib --watch --source-maps",
2727
"prepublish": "npm run --if-present build",
2828
"test": "mocha"

0 commit comments

Comments
 (0)