mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
avoid loading moment locales
This commit is contained in:
parent
823a1034e0
commit
9a2bb981a9
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ envVars
|
|||
module.exports = {
|
||||
configureWebpack: {
|
||||
plugins: [
|
||||
new webpack.EnvironmentPlugin(envObject)
|
||||
new webpack.EnvironmentPlugin(envObject),
|
||||
new webpack.ContextReplacementPlugin(/moment[\\/]locale$/, /^\.\/(NOT_EXISTING)$/),
|
||||
],
|
||||
},
|
||||
chainWebpack: config => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue