mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix errors
This commit is contained in:
@@ -39,6 +39,8 @@ envVars
|
||||
envObject[`process.env.${key}`] = `'${nconf.get(key)}'`;
|
||||
});
|
||||
|
||||
console.log(envObject)
|
||||
|
||||
const webpackPlugins = [
|
||||
new webpack.DefinePlugin(envObject),
|
||||
new webpack.ContextReplacementPlugin(/moment[\\/]locale$/, /^\.\/(NOT_EXISTING)$/),
|
||||
@@ -56,6 +58,11 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
fallback: {
|
||||
"timers": require.resolve("timers-browserify")
|
||||
},
|
||||
},
|
||||
plugins: webpackPlugins,
|
||||
},
|
||||
chainWebpack: config => {
|
||||
|
||||
Reference in New Issue
Block a user