Spaces:
Runtime error
Runtime error
Download integrations/github/tsup.config.ts from BTankut/Context-Store-LLM: direct link, hf CLI and curl.
- Browser
- Download file 480 Bytes
-
https://huggingface.co/spaces/BTankut/Context-Store-LLM/resolve/main/integrations/github/tsup.config.ts
- Command line
-
hf download hf://spaces/BTankut/Context-Store-LLM/integrations/github/tsup.config.ts
-
curl -L -o tsup.config.ts https://huggingface.co/spaces/BTankut/Context-Store-LLM/resolve/main/integrations/github/tsup.config.ts
480 Bytes
| import { defineConfig } from 'tsup'; | |
| import { dependencies } from './package.json'; | |
| export default defineConfig({ | |
| entry: ['src/index.ts'], | |
| format: ['cjs'], // or esm if you're using that | |
| bundle: true, | |
| target: 'node16', | |
| outDir: 'bin', | |
| splitting: false, | |
| shims: true, | |
| clean: true, | |
| name: 'github', | |
| platform: 'node', | |
| legacyOutput: false, | |
| noExternal: Object.keys(dependencies || {}), // ⬅️ bundle all deps | |
| treeshake: { | |
| preset: 'recommended', | |
| }, | |
| }); | |