Skip to content

Commit

Permalink
Revert "use swc isntead of terser for that final step that takes 2 mi…
Browse files Browse the repository at this point in the history
…nutes (#3521)"

This reverts commit cf3c76c.
  • Loading branch information
wentokay committed Apr 2, 2023
1 parent 607074b commit 823433f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/app-extension/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const { ProgressPlugin, ProvidePlugin, DefinePlugin } = require("webpack");
const TerserPlugin = require("terser-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
Expand Down Expand Up @@ -220,17 +219,6 @@ const options = {
zlib: require.resolve("browserify-zlib"),
},
},
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
minify: TerserPlugin.swcMinify,
// `terserOptions` options will be passed to `swc` (`@swc/core`)
// Link to options - https://swc.rs/docs/config-js-minify
terserOptions: {},
}),
],
},
plugins: [
new DefinePlugin({
process: {
Expand Down

0 comments on commit 823433f

Please sign in to comment.