feature/replace-eccrypto
pubkey 2 years ago
parent 1991dc25f5
commit b52293c532
  1. 7
      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')
}
}
};

Loading…
Cancel
Save