mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-11 09:28:40 +00:00
* Feat: clustering fact statements * Feat: cluster drift * Feat: add recall count and model to search * Feat: Github integration * Fix: clustering UI * Improve graph * Bump: new version --------- Co-authored-by: Manoj K <saimanoj58@gmail.com>
36 lines
816 B
JavaScript
36 lines
816 B
JavaScript
import commonjs from '@rollup/plugin-commonjs';
|
|
import json from '@rollup/plugin-json';
|
|
import resolve from '@rollup/plugin-node-resolve';
|
|
import nodePolyfills from 'rollup-plugin-node-polyfills';
|
|
|
|
import { terser } from 'rollup-plugin-terser';
|
|
import typescript from 'rollup-plugin-typescript2';
|
|
|
|
export default [
|
|
{
|
|
input: 'backend/index.ts',
|
|
external: ['axios'],
|
|
output: [
|
|
{
|
|
file: 'dist/backend/index.js',
|
|
sourcemap: true,
|
|
format: 'cjs',
|
|
exports: 'named',
|
|
preserveModules: false,
|
|
},
|
|
],
|
|
plugins: [
|
|
nodePolyfills(),
|
|
json(),
|
|
resolve({ extensions: ['.js', '.ts'] }),
|
|
commonjs({
|
|
include: /\/node_modules\//,
|
|
}),
|
|
typescript({
|
|
tsconfig: 'tsconfig.json',
|
|
}),
|
|
terser(),
|
|
],
|
|
},
|
|
];
|