Skip to content

Commit

Permalink
Test remove terser plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
smdsgn committed Sep 16, 2024
1 parent b191eca commit a1b24f2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const path = require('path');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const ESLintPlugin = require('eslint-webpack-plugin');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
Expand Down Expand Up @@ -135,17 +134,6 @@ const production = {
filename: 'assets/scripts/bundle.prod.js',
},
devtool: false,
optimization: {
minimize: true,
minimizer: [new TerserPlugin({
terserOptions: {
format: {
comments: false,
},
},
extractComments: false,
})],
},
plugins: [
...common.plugins
]
Expand Down

0 comments on commit a1b24f2

Please sign in to comment.