From 3961d16dacf9eb768a194d4fe6fd6b63f527ed7e Mon Sep 17 00:00:00 2001 From: Ken Clary Date: Tue, 9 Jan 2024 15:36:56 -0500 Subject: [PATCH] fix: configure webpack to fix paid powerpaste plugin --- webpack.prod.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 webpack.prod.config.js 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;