设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Webpack 3.0.0发布,模块加载打包工具

2017-6-21 22:23| 发布者: joejoe0332| 查看: 546| 评论: 0|原作者: oschina|来自: oschina

摘要: Webpack 是一款模块加载、打包工具,它能把各种资源,例如 JS(含JSX)、coffee、样式(含less/sass)、图片等都作为模块来使用和处理。新版本在2.6.1 的基础上更新内容如下:新特性:node_modulesno longer mangle ...

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 library

  • sourceMapFilename now supports [contenthash] [breaking change]

  • module.noParse supports functions

  • add 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 option

  • error 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

完整更新内容请查看发行首页

下载地址;


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部