Skip to content

Commit

Permalink
Merge pull request #117 from CodinGame/fix-svelte-extension
Browse files Browse the repository at this point in the history
Remove typescript server plugin registration from extensions
  • Loading branch information
CGNonofr authored May 17, 2024
2 parents 322323b + 32a319a commit 3ad0d53
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 3ad0d53

Please sign in to comment.