mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-07-10 13:44:10 -04:00
refactor: [UEPR-17] Removed usage of Terser plugin in webpack config, depend on minimize flag
This commit is contained in:
parent
991269bb52
commit
cf8c433a50
1 changed files with 0 additions and 8 deletions
|
@ -1,7 +1,6 @@
|
|||
const path = require('path');
|
||||
const webpack = require('webpack');
|
||||
|
||||
const TerserPlugin = require('terser-webpack-plugin');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
|
||||
const ScratchWebpackConfigBuilder = require('scratch-webpack-configuration');
|
||||
|
@ -11,13 +10,6 @@ const baseConfig = new ScratchWebpackConfigBuilder({
|
|||
})
|
||||
.enableDevServer(process.env.PORT || 8361)
|
||||
.merge({
|
||||
optimization: {
|
||||
minimizer: [
|
||||
new TerserPlugin({
|
||||
include: /\.min\.js$/
|
||||
})
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
fallback: {
|
||||
Buffer: require.resolve('buffer/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue