import { defineConfig } from 'tsup' const sourcemap = process.env.NODE_ENV === 'development' ? true : false export default defineConfig({ clean: true, format: ['cjs'], entry: ['src/index.ts', 'src/commands/*.ts', 'src/listeners/*.ts'], minify: true, sourcemap, })