v2 backcompat: server legacy package (#2206)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
This commit is contained in:
parent
83a54a454d
commit
e03bca90c1
1 changed files with 5797 additions and 71 deletions
24
packages/server-legacy/tsdown.config.ts
Normal file
24
packages/server-legacy/tsdown.config.ts
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import { defineConfig } from 'tsdown';
|
||||
|
||||
export default defineConfig({
|
||||
failOnWarn: 'ci-only',
|
||||
entry: ['src/index.ts', 'src/sse/index.ts', 'src/auth/index.ts'],
|
||||
format: ['esm'],
|
||||
outDir: 'dist',
|
||||
clean: true,
|
||||
sourcemap: true,
|
||||
target: 'esnext',
|
||||
platform: 'node',
|
||||
shims: true,
|
||||
dts: {
|
||||
resolver: 'tsc',
|
||||
compilerOptions: {
|
||||
baseUrl: '.',
|
||||
paths: {
|
||||
'@modelcontextprotocol/core': ['../core/src/index.ts'],
|
||||
'@modelcontextprotocol/core/public': ['../core/src/exports/public/index.ts']
|
||||
}
|
||||
}
|
||||
},
|
||||
noExternal: ['@modelcontextprotocol/core']
|
||||
});
|
||||
Loading…
Reference in a new issue