Files
stats/tsup.config.ts
zeekayandHanzo Dev 8d9f562330 chore: initial commit — tree had no git at all
@hanzo/stats. No history, no remote, not on GitHub, unpublished.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 11:56:13 -07:00

26 lines
608 B
TypeScript

import { defineConfig } from 'tsup'
export default defineConfig({
entry: {
'index': 'src/index.ts',
'db/index': 'src/db/index.ts',
'charts/index': 'src/charts/index.ts',
'providers/index': 'src/providers/index.ts',
'hooks/index': 'src/hooks/index.ts',
'components/index': 'src/components/index.tsx'
},
format: ['cjs', 'esm'],
dts: true,
splitting: false,
sourcemap: true,
clean: true,
external: ['react', 'react-dom', 'recharts', 'sql.js'],
treeshake: true,
minify: false,
esbuildOptions(options) {
options.banner = {
js: '"use client";'
}
}
})