diff --git a/packages/nuxt/src/core/plugins/virtual.ts b/packages/nuxt/src/core/plugins/virtual.ts index a855985031..e50970c225 100644 --- a/packages/nuxt/src/core/plugins/virtual.ts +++ b/packages/nuxt/src/core/plugins/virtual.ts @@ -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'