refactor: move the schema source modules into @modelcontextprotocol/core (#2477)
This commit is contained in:
parent
7c49b47fb3
commit
8e1d2e92b1
1 changed files with 3597 additions and 2914 deletions
|
|
@ -34,5 +34,8 @@ export default defineConfig({
|
|||
}
|
||||
},
|
||||
noExternal: ['@modelcontextprotocol/core-internal', 'ajv', 'ajv-formats', '@cfworker/json-schema'],
|
||||
external: ['@modelcontextprotocol/client/_shims']
|
||||
// The schema modules live in @modelcontextprotocol/core (a real runtime dependency); the
|
||||
// bundled core-internal shims import them via the './internal' subpath, which must stay an
|
||||
// external import (explicit entry — the tsconfig paths alias would otherwise inline it).
|
||||
external: ['@modelcontextprotocol/client/_shims', '@modelcontextprotocol/core/internal']
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue