Skip to content

Commit

Permalink
Fix safari 10 compatibility for terser (#2103)
Browse files Browse the repository at this point in the history
  • Loading branch information
subhero24 authored and DeMoorJasper committed Oct 4, 2018
1 parent b292407 commit 0b13f00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transforms/terser.js
Expand Up @@ -10,6 +10,7 @@ module.exports = async function(asset) {
let customConfig = await asset.getConfig(['.uglifyrc', '.terserrc']);
let options = {
warnings: true,
safari10: true,
mangle: {
toplevel: !asset.options.scopeHoist
}
Expand Down

0 comments on commit 0b13f00

Please sign in to comment.