Wei
Wei
Could you add a `console.log` under `new rspack.NormalModuleReplacementPlugin(/^\.\//, async (resource) => {` to test is the plugin being invoked indeed?
The new import path `./mocks\state` looks weird (I'm not familiar with Windows tbh), is that correct?
The NormalModuleReplacementPlugin is supprted by Rspack in https://github.com/web-infra-dev/rspack/pull/6028. I suspect this has something to do with Storybook's internal configuration. It would be very nice if you could provide a minimal...
Sorry for late response, I've inspected this issue months ago, and I believe it will be resolved when Rspack support real virtual module. Not liked to be addressed before that...
storybook-rsbuild's configuration is a little complex so for now you had to write the `rsbuildFinal` in the following style ```diff import { mergeRsbuildConfig } from '@rsbuild/core' import type { StorybookConfig...
With above configuration, the `.md` could be rendered as plain text instead of Markdown style. Is that identical with webpack?
So when importing and using a `.md` in `.mdx`, the `.md` file could be render as Markdown content with webpack & SB8?
I'll test does it works on webpack and SB8 then align with it.
Nx support needed.
@binary64 Could you provide the Storybook related Nx related configuration?