3 changed files with 2 additions and 8 deletions
@ -1,7 +0,0 @@ |
|||||
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