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
webpack 更新日志又来了哦,近期对之前的 changelog-v5 的中文版进行了更新,新增了许多 beta 版相关的日志。 对 v5 变化感兴趣的,可以持续关注我们的 webpack 文档更新日志。 也可阅读原文查看 changelog-v5 的最新中文版。
webpack 更新日志又来了哦,近期对之前的 changelog-v5 的中文版进行了更新,新增了许多 beta 版相关的日志。
对 v5 变化感兴趣的,可以持续关注我们的 webpack 文档更新日志。
也可阅读原文查看 changelog-v5 的最新中文版。
experiments
importAsync
importAwait
code-splitting
runtimeChunk
single
asset-modules
asset/resource
[hash][ext][query]
icss
compileType
minimize
terser-webpack-plugin
filename
warningsFilter
css-minimizer-webpack-plugin
eval-source-map-dev-tool-plugin
从 v4 升级到 v5
style-loader
css-loader
thead-loader
mini-css-extract-plugin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
英文篇
内容更新
配置
experiments
实验特性部分,去除了importAsync
和importAwait
指南
code-splitting
新增了runtimeChunk
选项,用于在单个 HTML 上使用多个入口时,需将其设置为single
asset-modules
webpack 5 的资源模块针对asset/resource
导出时,新增了 query 字段asset/resource
模块以[hash][ext][query]
loader
icss
选项,此会启用对 css module 的支持icss
选项,新增compileType
选项,其值可设置为 module 或 icssminimize
为 true 时,启用的压缩内容plugin
terser-webpack-plugin
filename
选项新增了友好的提示warningsFilter
选项css-minimizer-webpack-plugin
,用于优化 css 压缩,目前版本 1.1.1eval-source-map-dev-tool-plugin
中的filename
选项中文篇
内容更新
迁移
从 v4 升级到 v5
进行了重译loader
style-loader
的翻译工作。css-loader
的翻译工作thead-loader
的翻译工作plugin
mini-css-extract-plugin
的翻译工作The text was updated successfully, but these errors were encountered: