File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "env" : {
3
+ "development" : {"comments" : false , "minified" : true },
4
+ "production" : {"comments" : true , "minified" : false }
5
+ },
2
6
"presets" : [
3
7
[
4
8
" @babel/preset-react" ,
Original file line number Diff line number Diff line change 13
13
"build:combined-translation-keys" : " npm run build:translation-keys && node scripts/combineTranslationKeys.js" ,
14
14
"build:css" : " mkdirp lib && sass src/styles/main.scss:lib/react-chart-editor.css && postcss lib/react-chart-editor.css -o lib/react-chart-editor.min.css " ,
15
15
"build:js" : " mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps" ,
16
- "build" : " rimraf lib && mkdir lib && npm run build:js && npm run build:css && npm run build:combined-translation-keys" ,
16
+ "build" : " BABEL_ENV=production rimraf lib && mkdir lib && npm run build:js && npm run build:css && npm run build:combined-translation-keys" ,
17
17
"watch" : " webpack serve --hot --mode development" ,
18
18
"prepublishOnly" : " npm run build" ,
19
19
"storybook" : " start-storybook -p 9001 -c .storybook" ,
You can’t perform that action at this time.
0 commit comments