Skip to content

Commit

Permalink
fix: enable keep_fnames option in terser-webpack-plugin (#304)
Browse files Browse the repository at this point in the history
Close #196
  • Loading branch information
loopmode authored and develar committed Jul 9, 2019
1 parent ca18b60 commit 5f0caa1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/electron-webpack/src/targets/BaseTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export class BaseTarget {
optimization.minimizer = [new TerserPlugin({
parallel: true,
sourceMap: true,
keep_fnames: true,
})]
}
optimization.minimize = true
Expand Down

0 comments on commit 5f0caa1

Please sign in to comment.