Commit 1ae2d59c authored by afc163's avatar afc163

Avoid import moment locales

parent ed38f7ef
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