From b52293c532ebce908a8ce59a590a323d6127546a Mon Sep 17 00:00:00 2001 From: pubkey <8926560+pubkey@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:48:41 +0100 Subject: [PATCH] FIX config --- config/webpack.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/webpack.config.js b/config/webpack.config.js index ba294d4..5a4a6e1 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -18,7 +18,6 @@ module.exports = { optimization: { minimizer: [ new TerserPlugin({ - cache: true, parallel: true, }) ] @@ -27,5 +26,11 @@ module.exports = { output: { path: path.resolve(__dirname, '../test_tmp'), filename: 'webpack.bundle.js' + }, + resolve: { + fallback: { + 'crypto': require.resolve('crypto-browserify'), + 'stream': require.resolve('stream-browserify') + } } };