Skip to content

Commit

Permalink
fix(storybook-builder): start relative path with ./
Browse files Browse the repository at this point in the history
  • Loading branch information
bashmish committed Sep 24, 2024
1 parent 45c1cf8 commit 7574797
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-parrots-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@web/storybook-builder': patch
---

fix relative path by starting with ./
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function esbuildPluginCommonjsNamedExports(modules: string[]): Plugin {

return {
resolveDir,
contents: `export { ${finalExports.join(',')} } from '${slash(
contents: `export { ${finalExports.join(',')} } from './${slash(
relative(resolveDir, resolvedPath),
)}';`,
};
Expand Down

0 comments on commit 7574797

Please sign in to comment.