fix: configure webpack to fix paid powerpaste plugin (#783)

This commit is contained in:
kenclary
2024-01-09 16:15:34 -05:00
committed by GitHub
parent bee3758d18
commit 9ad192054b
2 changed files with 24 additions and 0 deletions

12
webpack.dev.config.js Normal file
View File

@@ -0,0 +1,12 @@
const { createConfig } = require('@edx/frontend-build');
const config = createConfig('webpack-dev', {
resolve: {
fallback: {
fs: false,
constants: false,
},
},
});
module.exports = config;

12
webpack.prod.config.js Normal file
View File

@@ -0,0 +1,12 @@
const { createConfig } = require('@edx/frontend-build');
const config = createConfig('webpack-prod', {
resolve: {
fallback: {
fs: false,
constants: false,
},
},
});
module.exports = config;