Updates style <link>
href value with a hash to trigger a style reload
安装
--- ------- ---------- --------------
用法
示例
webpack.config.js
- ----- ---------- ---- - - ------- ---------------- -- - ------- -------------- -------- - ----- --------------------- - - - -
hash 需要启用热模块替换(Hot Module Replacement)
bundle.js
---------------------- -- ----------
index.html
------ ----- ---------------- --------------- --------------------- --------------
loader 运行后就变成
------ ----- ---------------- --------------- ------------------------------ --------------