Skip to content

Commit

Permalink
fix(build): normalized output log (#9594)
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyhn authored Aug 9, 2022
1 parent 6ad6734 commit 8bae103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ export function buildHtmlPlugin(config: ResolvedConfig): Plugin {
delete bundle[chunk.fileName]
}

const shortEmitName = path.relative(config.root, id)
const shortEmitName = normalizePath(path.relative(config.root, id))
this.emitFile({
type: 'asset',
fileName: shortEmitName,
Expand Down

0 comments on commit 8bae103

Please sign in to comment.