ice
ice copied to clipboard
webpack模式下,如果开启了hash, css的热更新会失效, 关闭hash则能够正常热更新
What is the current behavior? 发生了什么?
css 热更新失效,改变css之后,必须要手动点击刷新浏览器按钮才可以看拿到css的变化
在webpack模式下,build.json中设置hash: contenthash之后,开发模式下css的热更新会失败。
What is the expected behavior? 期望的结果是什么?
期望css的热更新正常,记得之前自己配置webpack的时候,contenthash设置之后,在开发环境下css是可以热更新的
Any additional comments? 相关环境信息?
- ice.js Version:
- 2.6.1
- build.json Configuration:
- "hash": "contenthash"
- Node Version:
- 16.13.1
- Platform:
- mac os