We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e02747f commit 148842fCopy full SHA for 148842f
packages/storybook-builder/src/generate-stories-script.ts
@@ -34,7 +34,7 @@ async function toImportFn(stories: string[]) {
34
}
35
36
const importPath = toImportPath(relativePath);
37
- let actualPath = file;
+ let actualPath = `${process.cwd()}/${relativePath}`;
38
if (actualPath.endsWith('.mdx')) {
39
actualPath = `${actualPath}.js`;
40
0 commit comments