fix(scheduling): lint and code review

This commit is contained in:
Sabe Jones
2024-04-04 22:42:28 -05:00
parent 424f29a82b
commit 4277c08324
9 changed files with 95 additions and 447 deletions

View File

@@ -39,8 +39,6 @@ envVars
envObject[`process.env.${key}`] = `'${nconf.get(key)}'`;
});
console.log(envObject)
const webpackPlugins = [
new webpack.DefinePlugin(envObject),
new webpack.ContextReplacementPlugin(/moment[\\/]locale$/, /^\.\/(NOT_EXISTING)$/),
@@ -60,7 +58,7 @@ module.exports = {
},
resolve: {
fallback: {
"timers": require.resolve("timers-browserify")
timers: require.resolve('timers-browserify'),
},
},
plugins: webpackPlugins,