Skip to content

Commit

Permalink
setting compress true
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghyunkang1111 committed Jan 17, 2025
1 parent 6c6d039 commit b9c3936
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ module.exports = function (_env = {}, argv = {}) {
extensions: [".tsx", ".ts", ".js"],
},
optimization: {
minimize: mode === "production" ? true : false,
minimize: true,
minimizer: [
new TerserPlugin({
terserOptions: {
// These options increase our initial bundle size by ~5% but the builds are significantly faster and won't run out of memory
compress: true,
// compress: false,
mangle: {
keep_fnames: true,
keep_classnames: true,
Expand All @@ -266,6 +266,7 @@ module.exports = function (_env = {}, argv = {}) {
// enforce: true,
// },
// },
// runtimeChunk: false,
// },
},
watch: false,
Expand Down

0 comments on commit b9c3936

Please sign in to comment.