Skip to content

Commit

Permalink
chore: remove unused export
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 18, 2023
1 parent e6c5a90 commit d73c8e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/plugin-vue/src/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import type { ResolvedOptions } from '.'
// ssr and non ssr builds would output different script content
const clientCache = new WeakMap<SFCDescriptor, SFCScriptBlock | null>()
const ssrCache = new WeakMap<SFCDescriptor, SFCScriptBlock | null>()
export const depToSFCMap = new Map<string, string>()

export const typeDepToSFCMap = new Map<string, Set<string>>()

export function invalidateScript(filename: string): void {
const desc = descriptorCache.get(filename)
Expand Down Expand Up @@ -43,8 +44,6 @@ export function isUseInlineTemplate(

export const scriptIdentifier = `_sfc_main`

export const typeDepToSFCMap = new Map<string, Set<string>>()

export function resolveScript(
descriptor: SFCDescriptor,
options: ResolvedOptions,
Expand Down

0 comments on commit d73c8e7

Please sign in to comment.