mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +02:00
Merge commit 'deff028fed' as 'ai-context/trustgraph-client'
This commit is contained in:
commit
05d87964c2
27 changed files with 6278 additions and 0 deletions
30
ai-context/trustgraph-client/rollup.config.js
Normal file
30
ai-context/trustgraph-client/rollup.config.js
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
import resolve from "@rollup/plugin-node-resolve";
|
||||
import commonjs from "@rollup/plugin-commonjs";
|
||||
import typescript from "@rollup/plugin-typescript";
|
||||
|
||||
export default {
|
||||
input: "src/index.ts",
|
||||
output: [
|
||||
{
|
||||
file: "dist/index.cjs",
|
||||
format: "cjs",
|
||||
sourcemap: true,
|
||||
},
|
||||
{
|
||||
file: "dist/index.esm.js",
|
||||
format: "esm",
|
||||
sourcemap: true,
|
||||
},
|
||||
],
|
||||
external: ["react", "react-dom"],
|
||||
plugins: [
|
||||
resolve(),
|
||||
commonjs(),
|
||||
typescript({
|
||||
tsconfig: "./tsconfig.json",
|
||||
declaration: true,
|
||||
declarationDir: "dist",
|
||||
rootDir: "src",
|
||||
}),
|
||||
],
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue