Skip to content

Commit

Permalink
Merge pull request #2705 from pascalduez/feature/minify-nomangle-fn-n…
Browse files Browse the repository at this point in the history
…ames

Don't mangle function names for production builds
  • Loading branch information
Hypnosphi authored and shilman committed Jan 13, 2018
1 parent c7ba7c1 commit 4200b2f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/angular/src/server/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ export default function(configDir) {
ie8: false,
mangle: false,
warnings: false,
compress: {
keep_fnames: true,
},
output: {
comments: false,
},
Expand Down
3 changes: 3 additions & 0 deletions app/react-native/src/server/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ const getConfig = options => {
ie8: false,
mangle: false,
warnings: false,
compress: {
keep_fnames: true,
},
output: {
comments: false,
},
Expand Down
3 changes: 3 additions & 0 deletions app/react/src/server/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ export default function(configDir) {
ie8: false,
mangle: false,
warnings: false,
compress: {
keep_fnames: true,
},
output: {
comments: false,
},
Expand Down
3 changes: 3 additions & 0 deletions app/vue/src/server/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ export default function(configDir) {
ie8: false,
mangle: false,
warnings: false,
compress: {
keep_fnames: true,
},
output: {
comments: false,
},
Expand Down

0 comments on commit 4200b2f

Please sign in to comment.