Browse Source

build: update build config

pull/6283/head
Benjy Cui 8 years ago
parent
commit
addc0ca521
  1. 6
      .babelrc
  2. 2
      webpack.config.js

6
.babelrc

@ -1,6 +0,0 @@
{
"presets": ["es2015", "react", "stage-0"],
"plugins": [
"add-module-exports"
]
}

2
webpack.config.js

@ -20,7 +20,7 @@ function addLocales(webpackConfig) {
}
module.exports = function (webpackConfig) {
webpackConfig = getWebpackConfig(webpackConfig);
webpackConfig = getWebpackConfig(webpackConfig, true);
if (process.env.RUN_ENV === 'PRODUCTION') {
webpackConfig.forEach((config) => {
ignoreMomentLocale(config);

Loading…
Cancel
Save