First iteration of monaco editor lsp client (#5044)

This commit is contained in:
Henning Dieterichs 2025-10-10 12:18:12 +02:00 committed by GitHub
parent a59f6c8a72
commit 0fd6f29a23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 14026 additions and 4 deletions

View file

@ -0,0 +1,33 @@
// @ts-check
import { join } from 'path';
import { defineConfig } from 'rolldown';
import { dts } from 'rolldown-plugin-dts';
import del from 'rollup-plugin-delete';
import alias from '@rollup/plugin-alias';
export default defineConfig({
input: {
index: join(import.meta.dirname, './src/index.ts')
},
output: {
dir: join(import.meta.dirname, './out'),
format: 'es'
},
external: ['monaco-editor-core'],
plugins: [
del({ targets: 'out/*' }),
alias({
entries: {
ws: 'undefined'
}
}),
dts({
tsconfig: false,
compilerOptions: {
stripInternal: true
},
resolve: true
})
]
});