mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-26 09:32:25 +02:00
21 lines
525 B
JavaScript
21 lines
525 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: [/react/],
|
|
entrypoints: { index: "index", client: "client", react: "react/index" },
|
|
tsConfigPath: resolve("./tsconfig.json"),
|
|
cjsSource: "./dist-cjs",
|
|
cjsDestination: "./dist",
|
|
additionalGitignorePaths: ["docs"],
|
|
abs,
|
|
};
|