File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 " transform-object-rest-spread"
88 ],
99 "env" : {
10+ "dist-dir" : {
11+ "plugins" : [" transform-es2015-modules-commonjs" ]
12+ },
1013 "webpack" : {
1114 "plugins" : [" transform-es2015-modules-commonjs" ]
1215 },
Original file line number Diff line number Diff line change 1212 "start" : " BABEL_ENV=webpack webpack-dev-server --config ./webpack.dev.config.js --watch" ,
1313 "build-docs" : " cross-env WEBPACK_BUILD=production webpack --config ./webpack.dev.config.js --progress --colors" ,
1414 "build" : " cross-env NODE_ENV=production rollup -c" ,
15- "prebuild" : " babel src --out-dir lib --ignore src/__tests__/" ,
15+ "prebuild" : " BABEL_ENV=dist-dir babel src --out-dir lib --ignore src/__tests__/" ,
1616 "create-release" : " npm test && sh ./scripts/release" ,
1717 "publish-release" : " npm test && sh ./scripts/publish" ,
1818 "lint" : " eslint src"
You can’t perform that action at this time.
0 commit comments