Webpack 是一款模块加载、打包工具,它能把各种资源,例如 JS(含JSX)、coffee、样式(含less/sass)、图片等都作为模块来使用和处理。
新版本在2.6.1 的基础上更新内容如下:
新特性:
node_modules
no longer mangle to~
in stats [breaking change]timeout for HMR requests is configurable
added experimental Scope Hoisting (
webpack.optimize.ModuleConcatenationPlugin
)some performance improvements
added
output.libraryExport
to select an export for the librarysourceMapFilename
now supports[contenthash]
[breaking change]module.noParse
supports functionsadd
node: false
option to disable all node specific additions
bug 修复:
add workaround for breakpoints in eval source maps (chrome)
avoid creating redundant connections in chunk graph
enable chunk modules in stats by default
add special behavior when using CommonsChunkPlugin with only
async
optionerror is shown when hot-only HMR fails
fixed a few issues with weird stats output [breaking change]
fixed a bug in occurrence order plugin [breaking change]
optimization plugins now only affect the current compilation [breaking change]
context now also include index files [breaking change]
require.resolve evaluate truthy [breaking change]
import order no longer adds to hash
Hashing for RawModule fixed
完整更新内容请查看发行首页。
下载地址;
>>>【评论有礼】6月6日-30日评论每日更新的“新闻资讯和软件更新资讯”,评论点赞数超过 20 的可登上每周更新的“源资讯”和“软件周刊”两大栏目,点赞数超过 50 的还将获得 5 活跃积分奖励和开源中国定制好礼。详情
引用来自“DevLeon”的评论
从来没有任何一门语言的技术栈像 JavaScript 一样,拼尽全力的不让学习者精通。引用来自“DevLeon”的评论
从来没有任何一门语言的技术栈像 JavaScript 一样,拼尽全力的不让学习者精通。引用来自“DevLeon”的评论
从来没有任何一门语言的技术栈像 JavaScript 一样,拼尽全力的不让学习者精通。引用来自“DevLeon”的评论
从来没有任何一门语言的技术栈像 JavaScript 一样,拼尽全力的不让学习者精通。引用来自“DevLeon”的评论
从来没有任何一门语言的技术栈像 JavaScript 一样,拼尽全力的不让学习者精通。引用来自“DevLeon”的评论
从来没有任何一门语言的技术栈像 JavaScript 一样,拼尽全力的不让学习者精通。引用来自“DevLeon”的评论
从来没有任何一门语言的技术栈像 JavaScript 一样,拼尽全力的不让学习者精通。