Skip to content

Commit

Permalink
error search
Browse files Browse the repository at this point in the history
  • Loading branch information
Olerinskaia committed Dec 19, 2024
1 parent 363fb28 commit 4a82bc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/webpack/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const envConfig = merge(webpackConfig, customConfig);
if (envConfig.optimization) {
envConfig.optimization.minimizer[0].options.terserOptions.keep_classnames = true;
envConfig.optimization.minimizer[0].options.terserOptions.keep_fnames = true;
envConfig.optimization.minimizer[0].options.terserOptions.mangle = false;
envConfig.optimization.minimizer[0].options.exclude =
/.*[a-zA-Z]+Component[.]js$/gm;
}
Expand Down

0 comments on commit 4a82bc8

Please sign in to comment.