Skip to content

Commit

Permalink
docs: improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Aug 30, 2024
1 parent 99ae4b8 commit a23b38c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/brisa/src/utils/resolve-import-sync/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default function resolveImportSync(id: string, parent?: string) {
if (!isBun) throw e;
// This resolves "exports" inside the package.json of dependencies in Bun runtime
// Issue: https://github.com/brisa-build/brisa/issues/434
// This error only happens in Build-time, so Bun.js:
// Related Bun issue: https://github.com/oven-sh/bun/issues/4668
return Bun.resolveSync(
id,
parent ? path.dirname(parent) : import.meta.dirname,
Expand Down

0 comments on commit a23b38c

Please sign in to comment.