mirror of
https://github.com/atom/atom.git
synced 2026-01-25 23:08:18 -05:00
Merge pull request #17955 from atom/mb-keep-fnames
Preserve function names when minifying startup snapshot
This commit is contained in:
@@ -72,6 +72,7 @@ module.exports = function (packagedAppPath) {
|
||||
|
||||
process.stdout.write('Minifying startup script')
|
||||
const minification = terser.minify(snapshotScript, {
|
||||
keep_fnames: true,
|
||||
keep_classnames: true,
|
||||
compress: {keep_fargs: true, keep_infinity: true}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user