Skip to content

Commit

Permalink
fix(config): use file url for import path (fixes #9471) (#9473)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Aug 1, 2022
1 parent c5e7895 commit 22084a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/config.ts
Expand Up @@ -976,7 +976,7 @@ async function bundleConfigFile(
if (path.relative(idPkgDir, fileName).startsWith('..')) {
return {
// normalize actual import after bundled as a single vite config
path: idFsPath,
path: pathToFileURL(idFsPath).href,
external: true
}
}
Expand Down

0 comments on commit 22084a6

Please sign in to comment.