Only include en locale for moment.js to reduce build size
This commit is contained in:
@ -48,5 +48,6 @@ module.exports = {
|
||||
new webpack.ProvidePlugin({
|
||||
'fetch': 'imports?this=>global!exports?global.fetch!isomorphic-fetch'
|
||||
}),
|
||||
new webpack.ContextReplacementPlugin(/moment[\\\/]locale$/, /^\.\/(en)$/)
|
||||
]
|
||||
};
|
Reference in New Issue
Block a user