There was an error while loading. Please reload this page.
1 parent d251626 commit 023099fCopy full SHA for 023099f
1 file changed
.storybook/main.ts
@@ -125,7 +125,7 @@ const viteConfig: ViteStorybookConfig = {
125
// file://./node_modules/.../mdx-react-shim.js となるのを相対パスに修正する
126
if (source.startsWith('file://') && source.includes('mdx-react-shim')) {
127
const withoutProtocol = source.replace(/^file:\/\//, '')
128
- return path.resolve(process.cwd(), withoutProtocol)
+ return path.resolve(process.cwd(), withoutProtocol)
129
}
130
return null
131
},
0 commit comments