mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 00:52:01 +00:00
fix(nuxt): remove null-byte prefix for virtual files (#29809)
This commit is contained in:
parent
ef43dd920f
commit
4b08844535
@ -3,7 +3,7 @@ import type { Nuxt } from '@nuxt/schema'
|
|||||||
import { dirname, isAbsolute, resolve } from 'pathe'
|
import { dirname, isAbsolute, resolve } from 'pathe'
|
||||||
import { createUnplugin } from 'unplugin'
|
import { createUnplugin } from 'unplugin'
|
||||||
|
|
||||||
const PREFIX = '\0virtual:nuxt:'
|
const PREFIX = 'virtual:nuxt:'
|
||||||
|
|
||||||
interface VirtualFSPluginOptions {
|
interface VirtualFSPluginOptions {
|
||||||
mode: 'client' | 'server'
|
mode: 'client' | 'server'
|
||||||
|
Loading…
Reference in New Issue
Block a user