1 changed files with 7 additions and 0 deletions
@ -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; |
|||
}; |
|||
Loading…
Reference in new issue