diff --git a/webpack.dev.config.js b/webpack.dev.config.js new file mode 100644 index 0000000000..33791fda2a --- /dev/null +++ b/webpack.dev.config.js @@ -0,0 +1,12 @@ +const { createConfig } = require('@edx/frontend-build'); + +const config = createConfig('webpack-dev', { + resolve: { + fallback: { + fs: false, + constants: false, + }, + }, +}); + +module.exports = config; diff --git a/webpack.prod.config.js b/webpack.prod.config.js new file mode 100644 index 0000000000..e5b4cb228b --- /dev/null +++ b/webpack.prod.config.js @@ -0,0 +1,12 @@ +const { createConfig } = require('@edx/frontend-build'); + +const config = createConfig('webpack-prod', { + resolve: { + fallback: { + fs: false, + constants: false, + }, + }, +}); + +module.exports = config;