Skip to content

Commit

Permalink
fix: configure webpack to fix paid powerpaste plugin (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenclary authored Jan 9, 2024
1 parent bee3758 commit 9ad1920
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions webpack.dev.config.js
Original file line number Diff line number Diff line change
@@ -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 changes: 12 additions & 0 deletions webpack.prod.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const { createConfig } = require('@edx/frontend-build');

const config = createConfig('webpack-prod', {
resolve: {
fallback: {
fs: false,
constants: false,
},
},
});

module.exports = config;

0 comments on commit 9ad1920

Please sign in to comment.