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 920c774 commit 79f51cfCopy full SHA for 79f51cf
packages/vite-plugin/src/stylesPlugin.ts
@@ -194,6 +194,8 @@ export function stylesPlugin (options: Options): Plugin {
194
}
195
} else if (source.startsWith('/plugin-vuetify:')) {
196
return '\0' + source.slice(1)
197
+ } else if (source.startsWith('/@id/__x00__plugin-vuetify:')) {
198
+ return '\0' + source.slice(12)
199
200
201
return null
@@ -222,7 +224,7 @@ export function stylesPlugin (options: Options): Plugin {
222
224
223
225
226
if (id.startsWith('\0plugin-vuetify')) {
- const file = /^\0plugin-vuetify:(.*)(\?.*)?$/.exec(id)![1]
227
+ const file = /^\0plugin-vuetify:(.*?)(\?.*)?$/.exec(id)![1]
228
229
return tempFiles.get(file)
230
0 commit comments