Commit 6f3f7539 authored by afc163's avatar afc163

upgrade roadhog and use ignoreMomentLocale

parent 30472299
......@@ -24,5 +24,6 @@
"g-cloud": "Cloud",
"g2-plugin-slider": "G2.Plugin.slider"
},
"ignoreMomentLocale": true,
"theme": "./src/theme.js"
}
const webpack = require('webpack');
module.exports = (webpackConfig) => {
// Avoid import all locale file of moment
webpackConfig.plugins.push(new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/));
return webpackConfig;
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment