mirror of
https://github.com/langchain-ai/langchainjs-mcp-adapters.git
synced 2026-07-01 12:27:48 -04:00
68f130e1d0
Co-authored-by: Abhilash Panigrahi <pabhila@amazon.com> Co-authored-by: Ben Burns <803016+benjamincburns@users.noreply.github.com>
24 lines
579 B
JavaScript
24 lines
579 B
JavaScript
import { resolve, dirname } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
/**
|
|
* @param {string} relativePath
|
|
* @returns {string}
|
|
*/
|
|
function abs(relativePath) {
|
|
return resolve(dirname(fileURLToPath(import.meta.url)), relativePath);
|
|
}
|
|
|
|
export const config = {
|
|
internals: [/node:/, /@langchain\/core\//, /async_hooks/],
|
|
entrypoints: {
|
|
index: "index",
|
|
},
|
|
requiresOptionalDependency: [],
|
|
tsConfigPath: resolve("./tsconfig.json"),
|
|
cjsSource: "./dist-cjs",
|
|
cjsDestination: "./dist",
|
|
additionalGitignorePaths: [".env", ".eslintcache"],
|
|
abs,
|
|
};
|