bot/tsup.config.ts

12 lines
233 B
TypeScript
Raw Normal View History

2024-06-27 11:40:36 +00:00
import { defineConfig } from 'tsup'
const sourcemap = process.env.NODE_ENV === 'development' ? true : false
export default defineConfig({
clean: true,
format: ['cjs'],
entry: ['src/index.ts'],
2024-06-27 11:40:36 +00:00
minify: true,
sourcemap,
})