diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000000000000000000000000000000000000..98f9d5841565f71cdffc526f27049b6c24f32a52 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,7 @@ +const webpack = require('webpack'); + +module.exports = (webpackConfig) => { + // Avoid import all locale file of moment + webpackConfig.plugins.push(new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)); + return webpackConfig; +};