Skip to content

Commit

Permalink
test: test ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Sep 21, 2024
1 parent b26450c commit 4d45933
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/vite/src/node/plugins/asset.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from 'node:path'
import { URL } from 'node:url'
import { URL, parse as parseUrl } from 'node:url'
import fsp from 'node:fs/promises'
import { Buffer } from 'node:buffer'
import * as mrmime from 'mrmime'
Expand Down Expand Up @@ -384,6 +384,10 @@ async function fileToBuiltUrl(
search = '?'
}
}
// eslint-disable-next-line no-console
console.log(id, search, hash)
// eslint-disable-next-line no-console
console.log(parseUrl(id))
} catch {}

const postfix = (search || '') + (hash || '')
Expand Down

0 comments on commit 4d45933

Please sign in to comment.