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.
1 parent 8df8629 commit 0979d00Copy full SHA for 0979d00
.storybook/main.ts
@@ -67,7 +67,8 @@ const config = {
67
// Lazy/island wrappers (LazyComponent<T>, IslandComponent<T>) are
68
// excluded intentionally — Storybook only needs the concrete type.
69
// The format has been stable across all Nuxt 3 releases.
70
- const re = /^export const (\w+): typeof import\("([^"]+)"\)\.default$/gm
+ const re =
71
+ /^export const (\w+): typeof import\("([^"]+)"\)(?:\.default|\[['"]default['"]\])\s*;?$/gm
72
let match: RegExpExecArray | null
73
while ((match = re.exec(dts)) !== null) {
74
const [, name, rel] = match
0 commit comments