Skip to content

Commit

Permalink
fix: windows path resolve, fix #42 (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu authored May 2, 2024
1 parent 2daec29 commit d7ea404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const externalPlugin = ({
? path.resolve(args.resolveDir, args.path)
: args.path
return {
path: resolved,
path: pathToFileURL(resolved).toString(),
external: true,
}
}
Expand Down

0 comments on commit d7ea404

Please sign in to comment.