Skip to content

Commit

Permalink
fix: configure webpack to fix paid powerpaste plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Clary committed Jan 9, 2024
1 parent bee3758 commit efc5324
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions webpack.prod.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const path = require('path');
const { createConfig } = require('@edx/frontend-build');

const config = createConfig('webpack-prod', {
resolve: {
modules: [
path.resolve(__dirname, 'src'),
path.resolve(__dirname, 'dist'),
'node_modules',
],
fallback: {
fs: false,
constants: false,
},
},
});

module.exports = config;

0 comments on commit efc5324

Please sign in to comment.