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> { url = removeImportQuery(removeTimestampQuery(url)) const mod = await this._getUnresolvedUrlToModule(url, ssr) if (mod?.id) { return [mod.url, mod.id, mod.meta] } return this._resolveUrl(url, ssr) } node/server/moduleGraph.ts