Umi: Use webpack@4

Created on 29 Jan 2018  ·  9Comments  ·  Source: umijs/umi

Most helpful comment

Related issue, with webpack@4, we could reduce the bundle size.

All 9 comments

建议 Webpack 输出更多的日志,这样感觉起来会快一点,现在构建时就是一个静止的提示,看着比较沉闷,也会觉得比较满。

看来 Gmail 加了个进度条,让用户感觉快了,还真是不无道理。

在构建速度上,Roadhog(Weback 3)并没有比 atool-build(Webpack 1) 快,不知道 Webpack 4 会不会有质的提升,期待一下。

andriijas say 'There is no need to use the AutoDllPlugin'.
Is that means there's no need umi-plugin-dll if use webpack@4?

Related issue, with webpack@4, we could reduce the bundle size.

wait for webpack@4 to use SplitChunksPlugin

是否能出个 beta 版 使用 webpack4 呢··

webpack/webpack#6767 (comment) is too open to locate
how about wait for https://github.com/facebook/create-react-app/issues/4492

Was this page helpful?
0 / 5 - 0 ratings