Files
waggle-os/packages/launcher/tsup.config.ts
Oleg Maslov 0c3e2ead3b
Some checks failed
Installer Smoke / installer-smoke (push) Has been cancelled
moving
2026-09-02 10:10:29 +02:00

21 lines
496 B
TypeScript

import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/cli.ts'],
format: ['esm'],
target: 'node18',
clean: true,
shims: true,
banner: {
js: '#!/usr/bin/env node',
},
// Inline all @waggle/* workspace packages into the bundle.
// Third-party npm packages stay external (installed as dependencies).
noExternal: [/^@waggle\//],
// Native/optional packages that cannot be bundled.
external: [
'playwright-core',
'chromium-bidi',
],
});