Skip to content

Commit

Permalink
remove @fs prefix from import paths in vite
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Nov 22, 2024
1 parent 1bb5920 commit bf73c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/builders/builder-vite/src/codegen-importfn-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function toImportFn(stories: string[]) {
const objectEntries = stories.map((file) => {
const relativePath = normalizePath(relative(process.cwd(), file));

return ` '${toImportPath(relativePath)}': async () => import('/@fs/${file}')`;
return ` '${toImportPath(relativePath)}': async () => import('${file}')`;
});

return `
Expand Down

0 comments on commit bf73c12

Please sign in to comment.