Skip to content

Commit

Permalink
fix(config): use file url for import path (fixes vitejs#9471)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jul 31, 2022
1 parent 0309a61 commit 62530f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/config.ts
Expand Up @@ -975,7 +975,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 62530f7

Please sign in to comment.