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 authored and shilman committed May 12, 2023
1 parent 12e3d22 commit 9ab1f3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,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 9ab1f3e

Please sign in to comment.