boardgame-phaser/packages/framework/tsup.config.ts

15 lines
323 B
TypeScript
Raw Normal View History

2026-04-03 15:18:47 +08:00
import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm'],
dts: {
resolve: ['boardgame-core'],
},
sourcemap: true,
clean: true,
outDir: 'dist',
external: ['phaser', 'preact', '@preact/signals-core', 'mutative', 'boardgame-core'],
noExternal: [],
});