Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Mar 29, 2023
1 parent 0a09499 commit 3c962b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/moduleGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class ModuleGraph {
}

// for incoming urls, it is important to:
// 1. remove the HMR timestamp query (?t=xxxx)
// 1. remove the HMR timestamp query (?t=xxxx) and the ?import query
// 2. resolve its extension so that urls with or without extension all map to
// the same module
async resolveUrl(url: string, ssr?: boolean): Promise<ResolvedUrl> {
Expand Down

0 comments on commit 3c962b2

Please sign in to comment.