This repository has no description
0

Configure Feed

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

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