console/configs/tsup/dev.config.worker.ts
2024-02-28 11:41:46 +02:00

17 lines
380 B
TypeScript

import { defineConfig } from 'tsup';
import {
commonWatchList,
monorepoWatchList,
targetFromNodeVersion,
watchEntryPlugin,
} from './utils';
export default defineConfig({
splitting: false,
sourcemap: true,
clean: true,
format: 'esm',
watch: [...commonWatchList(), ...monorepoWatchList()],
target: targetFromNodeVersion(),
plugins: [watchEntryPlugin()],
});