fix(nuxt): remove null-byte prefix for virtual files (#29809)

This commit is contained in:
Daniel Roe 2024-11-06 06:37:41 +00:00
parent ef43dd920f
commit 4b08844535
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -3,7 +3,7 @@ import type { Nuxt } from '@nuxt/schema'
import { dirname, isAbsolute, resolve } from 'pathe'
import { createUnplugin } from 'unplugin'
const PREFIX = '\0virtual:nuxt:'
const PREFIX = 'virtual:nuxt:'
interface VirtualFSPluginOptions {
mode: 'client' | 'server'