We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9790719 commit 678cec2Copy full SHA for 678cec2
packages/vite-plugin/src/stylesPlugin.ts
@@ -61,6 +61,8 @@ export function stylesPlugin (options: Options): Plugin {
61
return PLUGIN_VIRTUAL_PREFIX + source.slice(1)
62
} else if (source.startsWith(`/@id/__x00__${PLUGIN_VIRTUAL_NAME}:`)) {
63
return PLUGIN_VIRTUAL_PREFIX + source.slice(12)
64
+ } else if (source.startsWith(`/${VIRTUAL_MODULE_ID}:`)) {
65
+ return source.slice(1)
66
}
67
68
return null
0 commit comments