0.4.0 (December 29, 2016)
0.4.0 不包含任何不兼容升级,可以放心无缝升级。
详见 Milestone 0.4。
- 支持通过
webpack.config.js
(支持 ES6 编写) 编程的方式修改 webpack 配置,但是不推荐,使用时会给予警告⚠️ ⚠️ ⚠️ ,见下图 (#36) - 支持
.roadhogrc.js
(支持 ES6 编写) 的配置方式,用于处理一些 JSON 处理不了的格式问题 (#37) - 新增
.roadhogrc
支持define
配置,对应 webpack 的 DefinePlugin,define 的值会自动做JSON.stringify
处理 (#8) - 新增
.roadhogrc
支持multipage
配置,表示多页应用,会自动抽取公共部分为common.js
和common.css
(#5) - 新增
.roadhogrc
支持externals
配置,对应 webpack 的 externals (#6)
- Support config with
webpack.config.js
by programming, but it's not recommended.⚠️ ⚠️ ⚠️ (#36) - Support config with
.roadhogrc.js
(#37) - Support use
define
in.roadhogrc
to config the webpack's DefinePlugin, the value will be transformed byJSON.stringify
automatically (#8) - Support use
multipage
config in.roadhogrc
, it will extract the common chunks ascommon.js
andcommon.css
(#5) - Support use
externals
in.roadhogrc
to configure webpack's externals (#6)