We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b71994 commit 50c2dc0Copy full SHA for 50c2dc0
packages/vite-plugin/src/importPlugin.ts
@@ -1,10 +1,10 @@
1
import { extname } from 'path'
2
import { Plugin } from 'vite'
3
import { generateImports, Options } from '@vuetify/loader-shared'
4
-import { parse as parseUrl, URLSearchParams } from 'url'
+import { URLSearchParams } from 'url'
5
6
function parseId (id: string) {
7
- const { query, pathname } = parseUrl(id)
+ const [pathname, query] = id.split('?')
8
9
return {
10
query: query ? Object.fromEntries(new URLSearchParams(query)) : null,
0 commit comments