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
10 月初,webpack v5 正式发布。我们也及时进行了维护与跟进,但由于这段时间工作较忙,所以更新日志没有及时更新,见谅。 在升级 5 之前,请先阅读文档中的迁移指南。 中文:https://webpack.docschina.org/migrate/5/ 英文:https://webpack.js.org/migrate/5/
10 月初,webpack v5 正式发布。我们也及时进行了维护与跟进,但由于这段时间工作较忙,所以更新日志没有及时更新,见谅。
在升级 5 之前,请先阅读文档中的迁移指南。
中文:https://webpack.docschina.org/migrate/5/
英文:https://webpack.js.org/migrate/5/
chunkIds
process
2020-10-10-webpack-5-release
optimization.namedChunks
optimization.noEmitOnErrors
optimization.emitOnErrors
optimization.mangleExports
deterministic
stats.assetsSpace
stats.modulesSpace
stats.chunkModulesSpace
stats.nestedModulesSpace
stats.cachedModules
stats.runtimeModules
stats.dependentModules
stats.groupAssetsByChunk
stats.groupAssetsByEmitStatus
stats.groupAssetsByInfo
stats.groupModulesByAttributes
stats.chunkRootModules
stats.maxModules
stats.chunkGroupAuxiliary
stats.chunkGroupChildren
stats.chunkGroupMaxAssets
stats.ignoreWarnings
stats.warningsFilter
browerlist
browserslist
web
string
function (complier)
string[]
false
node/electron
target: node12.18
babel-loader
core-js
webpack/buildin
eslint-loader
eslint-webpack-plugin
postcss-loader
stylus-loader
html-minimizer-webpack-plugin
image-minimizer-webpack-plugin
json-minimizer-webpack-plugin
mini-css-extract-plugin
terser-webpack-plugin
cache
cacheKeys
翻译了 webpack 5 大部分的文档内容:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
英文篇
内容更新
API
chunkIds
的描述process
的说明Blog
2020-10-10-webpack-5-release
的博文Concepts(概念)
Configuration(配置)
optimization.namedChunks
选项optimization.noEmitOnErrors
选项optimization.emitOnErrors
选项optimization.mangleExports
选项可以赋值为deterministic
,默认在生成环境下开启。stats.assetsSpace
stats.modulesSpace
stats.chunkModulesSpace
stats.nestedModulesSpace
stats.cachedModules
stats.runtimeModules
stats.dependentModules
stats.groupAssetsByChunk
stats.groupAssetsByEmitStatus
stats.groupAssetsByInfo
stats.groupModulesByAttributes
stats.chunkRootModules
stats.maxModules
stats.chunkGroupAuxiliary
stats.chunkGroupChildren
stats.chunkGroupMaxAssets
stats.ignoreWarnings
stats.ignoreWarnings
替换stats.warningsFilter
browerlist
,如果未找到browserslist
,则为web
string
function (complier)
改为了string
string[]
false
node/electron
的版本,如target: node12.18
string[]
时,会采用数组中 target 的共有特性Guides(指南)
Loader
babel-loader
章节中中新增了关于容错的说明core-js
和webpack/buildin
如果被 Babel 转码会发生错误eslint-loader
,使用eslint-webpack-plugin
代替postcss-loader
章节stylus-loader
章节Migrate
Plugin
eslint-webpack-plugin
html-minimizer-webpack-plugin
image-minimizer-webpack-plugin
json-minimizer-webpack-plugin
mini-css-extract-plugin
terser-webpack-plugin
cache
选项cacheKeys
选项站点更新
中文篇
内容更新
翻译了 webpack 5 大部分的文档内容:
站点更新
The text was updated successfully, but these errors were encountered: