Skip to content

Commit

Permalink
use ascii_only mode for minification (fix vuejs#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 26, 2016
1 parent e0e4062 commit 16bfe1b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ rollup.rollup({
moduleName: 'Vue'
}).code
var minified = banner + '\n' + uglify.minify(code, {
fromString: true
fromString: true,
output: {
ascii_only: true
}
}).code
return write('dist/vue.min.js', minified)
})
Expand Down

0 comments on commit 16bfe1b

Please sign in to comment.