在刚刚发布 4.25.0 版本后,Webpack 又快速发布 4.25.1 对上个版本进行修复:
- fix replacement of compile-time constant expression when expression is a wrapped expression (string prefix and/or suffix).
附上 4.25.0 更新内容:
Features
- add
format
option toDllPlugin
to allow generating formated manifest json - add flags to
ProgressPlugin
to add and remove information- entrypoint counter was added, but disabled by default to avoid breaking change
Bugfixes
- fix code generation for context dependencies when replacing compile-time constant expressions
- disable the effect of the ProvidePlugin for
.mjs
Webpack 是一个模块打包器,主要目的是在浏览器上打包 JavaScript 文件。
源码下载:
转自 https://www.oschina.net/news/101524/webpack-4-25-1-released