mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix: run virtual plugin first
This commit is contained in:
parent
fdd1fe95bc
commit
1299e858df
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user