Soon
Soon
> Rsbuild v0.7.10 仅打开Webstorm运行一个前端项目 开发环境构建失败后再次使用npm工具重新构建,多次之后Node内存占用就10-20GB了,占用内存主要是运行的Rsbuild项目 This problem cannot be reproduced in my machine. Can you provide a minimum reproduction? Excluding the impact of webstorm or vscode, you can reproduce it...
> The same happens on my machine too, windows hey, can you confirm that this happened after https://github.com/web-infra-dev/rsbuild/pull/3261 (1.0.1-beta.16)?
we need to rename the top-level variables when merging two mdx files to solve this issue https://github.com/webpack/webpack/pull/18348/files#diff-820a04017e95cec05fd58ca44cd7f6c9cfa5b698a144471d5a0f523932486c56R1403
> I can‘t reproduce the first case, is it correct? I'm sure You can checkout https://github.com/SoonIter/rspress-mdx-flatten/tree/case_1 and https://github.com/SoonIter/rspress-mdx-flatten/tree/case_2
[Bug]: plugin-preview components that don't support SSR would break the SSG build due to sideEffects
`` still have this problem. ```mdx # mdx ``` ```tsx // Comp.tsx console.log(window) const A = () => 12321 export default A; ```
[Bug]: plugin-preview components that don't support SSR would break the SSG build due to sideEffects
We can use `await import` to solve it ```tsx ⬇️ const Comp = React.lazy(() => import('./Comp.tsx')); ```
There is another issue about `flattenMdxContent`, fully refactoring need to be done to solve these issues together. https://github.com/web-infra-dev/rspress/issues/1071
Need some research, which is related to https://github.com/web-infra-dev/rspack/issues/6048
related to https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/0b960573797bf38926937994c481e4fec9ed8aa6/lib/runtime/RefreshUtils.js#L116-L146