afc163

Results 568 comments of afc163

> 之前有用 src/index.ejs,需移到 public/index.html,并手动引入 CSS 和 JS 如果开启了 hash,这个 html 岂不是要手动维护。

这样会让人误解的,public/index.html 引用的 index.js 在 dist 里根本不存在。

uglify-bug-versions => es5-imcompatible-versions ?

```diff - incompatible + imcompatible ```

是不是构建前这些前置判断也加上:http://2ality.com/2017/04/setting-up-multi-platform-packages.html

https://github.com/webpack/webpack/issues/5858#issuecomment-423796350 我们是不是可以试试:https://github.com/webpack-contrib/terser-webpack-plugin

terser-webpack-plugin 可以压缩 es6 代码的,本地测试目前感觉良好。

node_modules 走 babel 会影响调试和构建性能吧。