Skip to content
Permalink
Browse files

ascii-only output by default, ref choojs/bankai#0c77d24

  • Loading branch information...
goto-bus-stop committed Oct 17, 2017
1 parent 01106ae commit 89aaf79bd70de9772e13f1a0644616e36368269a
Showing with 9 additions and 2 deletions.
  1. +9 −2 index.js
@@ -25,7 +25,10 @@ module.exports = function (b, opts) {
global: true,
toplevel: true,
// No need to mangle here, will do that at the end.
mangle: false
mangle: false,
output: {
ascii_only: true
}
})

// Output a flat bundle, without function wrappers for each module.
@@ -34,7 +37,11 @@ module.exports = function (b, opts) {
b.plugin(commonShake)

// Minify the final output.
var uglifyOpts = {}
var uglifyOpts = {
output: {
ascii_only: true
}
}
if (!b._options.debug) {
uglifyOpts.sourceMap = false
}

0 comments on commit 89aaf79

Please sign in to comment.
You can’t perform that action at this time.