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') + } } };