Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit a09d1ba

Browse files
committed
fix: use prod mode for both bundles
1 parent 1ad7da7 commit a09d1ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"prebuild": "rm -rf ./build/* && yarn localize",
2222
"build:commonjs": "BABEL_ENV=commonjs babel src --out-dir ./build/cjs --copy-files --verbose",
2323
"build:modules": "BABEL_ENV=modules babel src --out-dir ./build/es --copy-files --verbose",
24-
"build": "NODE_ENV=production yarn build:commonjs && yarn build:modules",
25-
"postbuild": "yarn build-storybook",
24+
"build": "NODE_ENV=production yarn build:commonjs && NODE_ENV=production yarn build:modules",
25+
"postbuild": "NODE_ENV=production yarn build-storybook",
2626
"build-storybook": "build-storybook -c .storybook -o ./build/docs",
2727
"start-storybook": "start-storybook --port 5000",
2828
"prestart": "yarn localize",

0 commit comments

Comments
 (0)