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 文档更新日志又来了哦,最近 webpack 文档以删为主,本期主要删除了 5 个相关插件。
i18n-webpack-plugin
extract-text-webpack-plugin
babel-minify-webpack-plugin
uglifyjs-webpack-plugin
zopfli-webpack-plugin
common-chunk-plugin
copy-webpack-plugin
filter
css-minimizer-webpack-plugin
minify
source-map
source-map-loader
filterSourceMappingUrl
SourceMappingURL
postcss-loader
output
charset
<script>
scriptType
chunk
output.module
true
scriptType: module
false
markdown-loader
marked
eslint
node
MultiCompiler
The text was updated successfully, but these errors were encountered:
No branches or pull requests
英文篇
内容更新
Plugins
i18n-webpack-plugin
extract-text-webpack-plugin
babel-minify-webpack-plugin
uglifyjs-webpack-plugin
zopfli-webpack-plugin
common-chunk-plugin
中移除了关于extract-text-webpack-plugin
的配置copy-webpack-plugin
新增了filter
选项,用于对拷贝文件进行过滤css-minimizer-webpack-plugin
中修改了使用示例,在minify
选项中修改了入参并添加了source-map
的用法Loaders
source-map-loader
新增了选项filterSourceMappingUrl
,用于过滤SourceMappingURL
postcss-loader
文档配置
output
选项中新增了charset
,用于为<script>
新增charset
(兼容非现代浏览器)output
选项中新增了scriptType
,用于为异步chunk
添加<script>
类型output.module
设置为true
,即使设置了scriptType: module
,也会被替换为false
站点更新
markdown-loader
以及marked
eslint
版本中文篇
内容更新
Plugins
API
node
中的MultiCompiler
相关翻译进行了优化The text was updated successfully, but these errors were encountered: