This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

semble / tsup.config.ts
977 B 33 lines
1import { defineConfig } from 'tsup'; 2 3export default defineConfig({ 4 entry: { 5 index: 'src/index.ts', 6 instrument: 'src/instrument.ts', 7 'workers/feed-worker': 'src/workers/feed-worker.ts', 8 'workers/search-worker': 'src/workers/search-worker.ts', 9 'workers/firehose-worker': 'src/workers/firehose-worker.ts', 10 'workers/notification-worker': 'src/workers/notification-worker.ts', 11 'workers/sync-worker': 'src/workers/sync-worker.ts', 12 }, 13 outDir: 'dist', 14 target: 'node18', 15 format: ['cjs'], 16 clean: true, 17 sourcemap: true, 18 // Bundle workspace dependencies 19 noExternal: ['@semble/types'], 20 // Enable type checking 21 // This will make tsup type-check all files including workspace packages 22 tsconfig: './tsconfig.json', 23 // Add watch exclusions to prevent continuous rebuilds 24 ignoreWatch: [ 25 'dist/**', 26 'node_modules/**', 27 '**/*.test.ts', 28 '**/*.spec.ts', 29 'src/webapp/**', 30 'src/types/**', 31 'src/packages/**', 32 ], 33});