fix: run virtual plugin first

This commit is contained in:
Daniel Roe 2024-10-06 11:48:15 +02:00
parent fdd1fe95bc
commit 1299e858df
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -26,8 +26,7 @@ export const VirtualFSPlugin = (nuxt = useNuxt(), options: VirtualFSPluginOption
return { return {
name: 'nuxt:virtual', name: 'nuxt:virtual',
enforce: 'post', enforce: 'pre',
resolveId (id, importer) { resolveId (id, importer) {
const _id = id const _id = id
id = resolveAlias(id, alias) id = resolveAlias(id, alias)