Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minify #6

Open
azu opened this issue May 8, 2017 · 3 comments
Open

Minify #6

azu opened this issue May 8, 2017 · 3 comments

Comments

@azu
Copy link
Member

azu commented May 8, 2017

Minifyの結果は読みにくいコードとなるので、その吐き出すコードが安全かどうかはツールを信用してやっている。
Minifyを取り巻く状況について、透明性のあるレポートが必要とされている。

@azu
Copy link
Member Author

azu commented May 8, 2017

https://gist.github.com/azu/80d9b2e5f6ee42b2e78b73610c9c6967
mishoo/UglifyJS#1811
mishoo/UglifyJS#1411

Uglify 3.0が公開され破壊的な変更点があるとだけ書かれている状態で、どのような変更があったのかが不透明なままリリースされているため若干トラブルが生じている。
https://github.com/mishoo/UglifyJS2/search?q=3.0&type=Issues&utf8=%E2%9C%93

@azu
Copy link
Member Author

azu commented May 10, 2017

@azu
Copy link
Member Author

azu commented May 10, 2017

Rich-Harris製のminify ES2015対応

The compression is better than Babili and Closure Compiler (in standard compilation mode — you can get better results with Closure in advanced mode, but only by writing your code in a very particular way). It's almost as good as Uglify in its current version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant