We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24d0e1c + d2dbb7b commit e69ebc4Copy full SHA for e69ebc4
.changeset/rude-lies-share.md
@@ -0,0 +1,6 @@
1
+---
2
+"@web/dev-server-storybook": patch
3
+"@web/dev-server": patch
4
5
+
6
+fix: sb windows path
packages/dev-server-storybook/src/shared/config/readStorybookConfig.ts
@@ -70,7 +70,7 @@ export async function readStorybookConfig(
70
}
71
72
const mainJs = commonJsMainExists
73
- ? validateMainJs((await import(commonJsMainPath)).default)
+ ? validateMainJs((await import(pathToFileURL(commonJsMainPath).href)).default)
74
: validateMainJs((await import(pathToFileURL(mainJsPath).href)).default);
75
76
return {
0 commit comments