From 2cfa7ef4eb687b40a4dc1187a0e3c8f185a16823 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Wed, 15 May 2024 04:40:51 +0800 Subject: [PATCH] fix(language-service): cannot share `tsCodegen` between packages in build extension close #4379 --- packages/language-service/lib/plugins/vue-document-links.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/language-service/lib/plugins/vue-document-links.ts b/packages/language-service/lib/plugins/vue-document-links.ts index 2bbe224bdd..c5767218ca 100644 --- a/packages/language-service/lib/plugins/vue-document-links.ts +++ b/packages/language-service/lib/plugins/vue-document-links.ts @@ -1,6 +1,6 @@ import type { LanguageServicePlugin, LanguageServicePluginInstance } from '@volar/language-service'; import { Sfc, VueVirtualCode } from '@vue/language-core'; -import { tsCodegen } from '@vue/language-core/lib/plugins/vue-tsx'; +import { tsCodegen } from '@vue/language-core'; import type * as vscode from 'vscode-languageserver-protocol'; export function create(): LanguageServicePlugin {