Spaces:
Runtime error
Runtime error
Download integrations/github/rollup.config.mjs from BTankut/Context-Store-LLM: direct link, hf CLI and curl.
- Browser
- Download file 816 Bytes
-
https://huggingface.co/spaces/BTankut/Context-Store-LLM/resolve/main/integrations/github/rollup.config.mjs
- Command line
-
hf download hf://spaces/BTankut/Context-Store-LLM/integrations/github/rollup.config.mjs
-
curl -L -o rollup.config.mjs https://huggingface.co/spaces/BTankut/Context-Store-LLM/resolve/main/integrations/github/rollup.config.mjs
816 Bytes
| 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(), | |
| ], | |
| }, | |
| ]; | |