troutbot/tsup.config.ts
NotAShelf 49a8a352df
chore: bundle jitsi for config loading
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iaf818970d17c911b80d3b5bc634a75896a6a6964
2026-02-01 16:18:23 +03:00

13 lines
316 B
TypeScript

import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts'],
format: 'cjs',
dts: true,
clean: true,
// Bundle jiti into the output so it works without node_modules
noExternal: ['jiti'],
// Ensure all dependencies are resolved
platform: 'node',
target: 'node22',
});