mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
11 lines
199 B
JavaScript
11 lines
199 B
JavaScript
import { pathToFileURL } from 'node:url'
|
|
|
|
export function used(s) {
|
|
return s
|
|
}
|
|
|
|
// This is not used, so `node:url` should not be bundled
|
|
export function treeshaken(s) {
|
|
return pathToFileURL(s)
|
|
}
|