zapishis-client/apps/bot/tsup.config.js
vchikalkin 7a3dd4688b
Some checks failed
Build & Deploy Web & Bot / Build and Push to Docker Hub (push) Has been cancelled
Build & Deploy Web & Bot / Deploy to VPS (push) Has been cancelled
fix apps/bot build
2025-07-02 19:55:15 +03:00

17 lines
334 B
JavaScript

import { defineConfig } from 'tsup';
export default defineConfig({
bundle: true,
clean: true,
entry: ['./src/index.ts'],
external: ['telegraf', 'zod'],
format: 'cjs',
loader: { '.json': 'copy' },
minify: true,
noExternal: ['@repo'],
outDir: './dist',
sourcemap: false,
splitting: false,
target: 'es2022',
});