Skip to content

Commit 89aaf79

Browse files
committed
ascii-only output by default, ref choojs/bankai#0c77d24
1 parent 01106ae commit 89aaf79

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ module.exports = function (b, opts) {
2525
global: true,
2626
toplevel: true,
2727
// No need to mangle here, will do that at the end.
28-
mangle: false
28+
mangle: false,
29+
output: {
30+
ascii_only: true
31+
}
2932
})
3033

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

3639
// Minify the final output.
37-
var uglifyOpts = {}
40+
var uglifyOpts = {
41+
output: {
42+
ascii_only: true
43+
}
44+
}
3845
if (!b._options.debug) {
3946
uglifyOpts.sourceMap = false
4047
}

0 commit comments

Comments
 (0)