mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-22 15:42:25 +02:00
20 lines
458 B
JavaScript
20 lines
458 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: [],
|
|
entrypoints: { index: "index", client: "client" },
|
|
tsConfigPath: resolve("./tsconfig.json"),
|
|
cjsSource: "./dist-cjs",
|
|
cjsDestination: "./dist",
|
|
abs,
|
|
};
|