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.
NODE_ENV
1 parent 8b6c7df commit b62c739Copy full SHA for b62c739
package.json
@@ -52,9 +52,9 @@
52
],
53
"scripts": {
54
"cleanup": "rm -rf dist/ > /dev/null",
55
- "build": "yarn cleanup && rollup -c",
+ "build": "NODE_ENV=production yarn cleanup && rollup -c",
56
"storybook": "NODE_ENV=development storybook dev -p 6006",
57
- "build-storybook": "storybook build",
+ "build-storybook": "NODE_ENV=production storybook build",
58
"test": "jest",
59
"test:watch": "jest --watch",
60
"lint": "yarn lint:types && yarn lint:js && yarn lint:prettier",
0 commit comments