Skip to content

Commit 8bae103

Browse files
authoredAug 9, 2022
fix(build): normalized output log (#9594)
1 parent 6ad6734 commit 8bae103

File tree

1 file changed

+1
-1
lines changed
  • packages/vite/src/node/plugins

1 file changed

+1
-1
lines changed
 

‎packages/vite/src/node/plugins/html.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ export function buildHtmlPlugin(config: ResolvedConfig): Plugin {
740740
delete bundle[chunk.fileName]
741741
}
742742

743-
const shortEmitName = path.relative(config.root, id)
743+
const shortEmitName = normalizePath(path.relative(config.root, id))
744744
this.emitFile({
745745
type: 'asset',
746746
fileName: shortEmitName,

0 commit comments

Comments
 (0)
Please sign in to comment.