Skip to content

Commit cacc137

Browse files
authored
fix(core): remove bad import map exports (#9229)
1 parent 04e943f commit cacc137

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

β€Žinternal/build/constants.tsβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ export const optionalEntrypoints: Record<string, string[]> = {
4040

4141
export const deprecatedOmitFromImportMap: Record<string, string[]> = {
4242
langchain: ["hub", "hub/node"],
43+
"@langchain/core": [
44+
"context",
45+
"callbacks/dispatch/web",
46+
"callbacks/dispatch",
47+
],
4348
"@langchain/classic": ["hub", "hub/node"],
4449
};
4550

β€Žlibs/langchain-core/src/load/import_map.tsβ€Ž

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ export * as index from "../index.js";
44
export * as agents from "../agents.js";
55
export * as caches from "../caches/base.js";
66
export * as callbacks__base from "../callbacks/base.js";
7-
export * as callbacks__dispatch from "../callbacks/dispatch/index.js";
8-
export * as callbacks__dispatch__web from "../callbacks/dispatch/web.js";
97
export * as callbacks__manager from "../callbacks/manager.js";
108
export * as callbacks__promises from "../callbacks/promises.js";
119
export * as chat_history from "../chat_history.js";
12-
export * as context from "../context.js";
1310
export * as documents from "../documents/index.js";
1411
export * as document_loaders__base from "../document_loaders/base.js";
1512
export * as document_loaders__langsmith from "../document_loaders/langsmith.js";

0 commit comments

Comments
Β (0)