Skip to content

Commit 11651c8

Browse files
committed
fix: normalize path
1 parent 5b95ff0 commit 11651c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const config = {
7373
while ((match = re.exec(dts)) !== null) {
7474
const [, name, rel] = match
7575
if (!name || !rel) continue
76-
const abs = resolve(buildDir, rel)
76+
const abs = resolve(buildDir, rel).replaceAll('\\', '/')
7777
lines.push(`export { default as ${name} } from ${JSON.stringify(abs)}`)
7878
}
7979
return lines.join('\n') || 'export {}'

0 commit comments

Comments
 (0)