Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / packages/cli/tsup.config.ts |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | packages/cli/tsup.config.ts |
| Original SHA-256 | f1090aa4d79a09d615322ef88cfa3c56bc2a5c27548dbfaba3c906762848f9f9 |
| Git blob SHA | acc11e056f3bd1b28b5a96b4cf745c0e724ad478 |
| Reading-copy SHA-256 | f1090aa4d79a09d615322ef88cfa3c56bc2a5c27548dbfaba3c906762848f9f9 |
Recovered source transcript
Download complete source text ↓22 lines · 0.4 KB
import { readFileSync } from 'node:fs'
import { defineConfig } from 'tsup'
const pkg = JSON.parse(readFileSync('./package.json', 'utf-8'))
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm'],
target: 'node24',
outDir: 'dist',
clean: true,
splitting: false,
sourcemap: false,
dts: false,
banner: {
js: '#!/usr/bin/env node'
},
define: {
__CLI_VERSION__: JSON.stringify(pkg.version)
}
})