Skip to content

Commit

Permalink
fix(nuxt): remove null-byte prefix for virtual files (#29809)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Nov 6, 2024
1 parent 98f965f commit c2fe249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/core/plugins/virtual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c2fe249

Please sign in to comment.