We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
内容研究 3/25
The text was updated successfully, but these errors were encountered:
没真实测试过,反正我信了!! 😊
在之前的版本的速度已经让人满意了,关键还是看一些热部署的速度。
webpack CLI
更新成 v4 后,需要额外安装 webpack-cli。
CLI has been move to webpack-cli, you need to install webpack-cli to use the CLI npm i -D webpack-cli
https://webpack.js.org/guides/getting-started/ 官方demo已经写了,可以直接获取src/index 并打包到dist文件夹下面的bundle(我测试出来是main.js);但0配置对于傻瓜采用的;
在新版中我们废弃并移除了 CommonsChunkPlugin,并且使用一些默认值以及更容易被复写的新 API optimize.splitChunks 来代替它。现在你可以在大部分场景中享受自动分块带来的便利了!
应该是作者被拉去谈话了,所以这块的适配还需要一定的时间,持续关注ing...
webpack/webpack.js.org#1706
vue开始做webpack4的支持了https://github.com/vuejs/vue-cli/tree/webpack4
AngularCLI 团队已经计划在近几周即将发布的大版本中直接使用 webpack 4!
最让人激动的是,我们甚至可以支持 CSS 和 HTML 模块类型(计划在 webpack 4.x - 5 间版本实现)。 它将允许我们直接将 HTML 作为入口文件!
奇舞团的翻译https://zhuanlan.zhihu.com/p/34028750 原文地址 :https://medium.com/webpack/webpack-4-released-today-6cdb994702d4
webpack4官方文档Release - Document v4 (Migration Guide and Feature Additions) webpack/webpack.js.org#1706
Sorry, something went wrong.
No branches or pull requests
项目的整体目标
① 明确目标
② 确定结果
③ 制定工作流
内容研究 3/25
④ 总结与头脑风暴
⑤ what`s next ?
The text was updated successfully, but these errors were encountered: