Skip to content

Commit 9ada721

Browse files
committed
chore: ensure that build is done in NODE_ENV=production
1 parent 067ed13 commit 9ada721

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
@@ -39,7 +39,7 @@
3939
},
4040
"scripts": {
4141
"add-assertions": "babel-node --presets es2015 ./bin/readme-assertions",
42-
"build": "babel ./src --out-dir ./dist --copy-files --source-maps",
42+
"build": "NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps",
4343
"generate-readme": "gitdown ./.README/README.md --output-file ./README.md && npm run readme-add-assertions",
4444
"lint": "eslint ./src ./test",
4545
"test": "mocha --compilers js:babel-register && npm run lint"

0 commit comments

Comments
 (0)