Skip to content

Commit 0e6f93b

Browse files
committed
fix: change virtual prefix for nuxt compability
1 parent 17f8307 commit 0e6f93b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite-plugin/src/stylesPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function isSubdir (root: string, test: string) {
99
return relative && !relative.startsWith('..') && !path.isAbsolute(relative)
1010
}
1111

12-
const PLUGIN_VIRTUAL_PREFIX = "\0"
12+
const PLUGIN_VIRTUAL_PREFIX = "virtual:"
1313
const PLUGIN_VIRTUAL_NAME = "plugin-vuetify"
1414

1515
export function stylesPlugin (options: Options): Plugin {

0 commit comments

Comments
 (0)