Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
fix: add '\0' for virtual module
Browse files Browse the repository at this point in the history
fix #24
  • Loading branch information
underfin committed Jan 23, 2021
1 parent 8a6cea3 commit b3c4a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Expand Up @@ -13,8 +13,8 @@ import { SFCBlock } from '@vue/component-compiler-utils'
import { handleHotUpdate } from './hmr'
import { transformVueJsx } from './jsxTransform'

export const vueComponentNormalizer = '/vite/vueComponentNormalizer'
export const vueHotReload = '/vite/vueHotReload'
export const vueComponentNormalizer = '\0/vite/vueComponentNormalizer'
export const vueHotReload = '\0/vite/vueHotReload'

// extend the descriptor so we can store the scopeId on it
declare module '@vue/component-compiler-utils' {
Expand Down

0 comments on commit b3c4a1b

Please sign in to comment.