Skip to content

Commit 16bfe1b

Browse files
committed
use ascii_only mode for minification (fix #2291)
1 parent e0e4062 commit 16bfe1b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: build/build.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ rollup.rollup({
7676
moduleName: 'Vue'
7777
}).code
7878
var minified = banner + '\n' + uglify.minify(code, {
79-
fromString: true
79+
fromString: true,
80+
output: {
81+
ascii_only: true
82+
}
8083
}).code
8184
return write('dist/vue.min.js', minified)
8285
})

0 commit comments

Comments
 (0)