From 32a319a678f703c4f79409e21f840971c430e668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Fri, 17 May 2024 11:54:01 +0200 Subject: [PATCH] fix: remove typescript server plugin registration from extensions because the code is not here anyway --- rollup.config.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rollup.config.ts b/rollup.config.ts index ca65cb5..2bde67a 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -4,7 +4,7 @@ import alias from '@rollup/plugin-alias' import { nodeResolve } from '@rollup/plugin-node-resolve' import typescript from '@rollup/plugin-typescript' import * as rollup from 'rollup' -import vsixPlugin from '@codingame/monaco-vscode-rollup-vsix-plugin' +import vsixPlugin, { IExtensionManifest } from '@codingame/monaco-vscode-rollup-vsix-plugin' import glob from 'fast-glob' import { addExtension } from '@rollup/pluginutils' import { importMetaAssets } from '@web/rollup-plugin-import-meta-assets' @@ -111,8 +111,11 @@ ${files.map((_, index) => ` whenReady${index}()`).join(',\n')} viewsWelcome, terminal, viewsContainers, + typescriptServerPlugins, ...remainingContribute - } = manifest.contributes ?? {} + } = ((manifest.contributes ?? {}) as (IExtensionManifest['contributes'] & { + typescriptServerPlugins: unknown // typescript extension specific field + })) const { activationEvents,