9aoy
9aoy
React refresh not work is expected, see https://github.com/pmmmwh/react-refresh-webpack-plugin/issues/249. But there seems to be something wrong with Silently fails and no full refresh.
In Rsbuild, you can configure the static assets prefix url through `dev.assetPrefix` / `output.assetPrefix`, and configure the base path of `index.html` and public dir through `sever.base`(WIP), see https://github.com/web-infra-dev/rsbuild/pull/3542.
@MinGuoGuo can you add a permission for me. https://gitee.com/xiangminya/rsbuild-hmr
It seems that there is a problem with rspack's `updatedModules` calculation when `sourcemap` is included. There is no change in the content or sourcemap (sourcemap is a new object, but...
Maybe related https://github.com/vuejs/vue-loader/issues/1795. If `devtool` is set to `source-map` in webpack, this problem will also occur. The temporary solution in Rsbuild is: ```js export default { output: { sourceMap: {...
This problem is not an rspack / webpack bug, but you can enable incremental rebuild to speed up the rebuild speed. see: https://rspack.dev/blog/announcing-1-1#new-incremental-rebuild
When I turn off `lightningcssLoader`, everything works fine. You can temporarily turn off `lightningcssLoader` through `tools.lightningcssLoader: false`. We will continue to investigate the cause. https://rsbuild.dev/guide/basic/css-usage#disabling-lightning-css
> 还有问题vue单文件里面,一旦添加或者删除style标签,编译也会直接,这个库就能复现 see https://github.com/web-infra-dev/rspack/issues/7805
📝 Ran ecosystem CI: [Open](https://github.com//rspack-contrib/rsbuild-ecosystem-ci/actions/runs/11358538237) | suite | result | |-------|--------| | [modernjs](https://github.com/rspack-contrib/rsbuild-ecosystem-ci/actions/runs/11358538237/job/31593200091) | :white_check_mark: success | | [plugins](https://github.com/rspack-contrib/rsbuild-ecosystem-ci/actions/runs/11358538237/job/31593200615) | :x: failure | | [rspress](https://github.com/rspack-contrib/rsbuild-ecosystem-ci/actions/runs/11358538237/job/31593200757) | :x: failure | |...