We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ad6734 commit 8bae103Copy full SHA for 8bae103
packages/vite/src/node/plugins/html.ts
@@ -740,7 +740,7 @@ export function buildHtmlPlugin(config: ResolvedConfig): Plugin {
740
delete bundle[chunk.fileName]
741
}
742
743
- const shortEmitName = path.relative(config.root, id)
+ const shortEmitName = normalizePath(path.relative(config.root, id))
744
this.emitFile({
745
type: 'asset',
746
fileName: shortEmitName,
0 commit comments