Skip to content

Commit d73c8e7

Browse files
committed
chore: remove unused export
1 parent e6c5a90 commit d73c8e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/plugin-vue/src/script.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import type { ResolvedOptions } from '.'
66
// ssr and non ssr builds would output different script content
77
const clientCache = new WeakMap<SFCDescriptor, SFCScriptBlock | null>()
88
const ssrCache = new WeakMap<SFCDescriptor, SFCScriptBlock | null>()
9-
export const depToSFCMap = new Map<string, string>()
9+
10+
export const typeDepToSFCMap = new Map<string, Set<string>>()
1011

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

4445
export const scriptIdentifier = `_sfc_main`
4546

46-
export const typeDepToSFCMap = new Map<string, Set<string>>()
47-
4847
export function resolveScript(
4948
descriptor: SFCDescriptor,
5049
options: ResolvedOptions,

0 commit comments

Comments
 (0)