Skip to content

Commit

Permalink
Merge pull request #22512 from michens/windows-path
Browse files Browse the repository at this point in the history
fix windows path when importing storybook-init-renderer-entry
  • Loading branch information
valentinpalkovic committed May 11, 2023
2 parents b38c38b + 4eed1aa commit 9029693
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default async (
const rendererName = await getRendererName(options);

const rendererInitEntry = resolve(join(workingDir, 'storybook-init-renderer-entry.js'));
virtualModuleMapping[rendererInitEntry] = `import '${rendererName}';`;
virtualModuleMapping[rendererInitEntry] = `import '${slash(rendererName)}';`;
entries.push(rendererInitEntry);

const entryTemplate = await readTemplate(
Expand Down

0 comments on commit 9029693

Please sign in to comment.