console/configs/tsup/dev.config.worker.ts

18 lines
380 B
TypeScript
Raw Normal View History

import { defineConfig } from 'tsup';
import {
commonWatchList,
monorepoWatchList,
targetFromNodeVersion,
watchEntryPlugin,
} from './utils';
export default defineConfig({
splitting: false,
sourcemap: true,
clean: true,
2024-02-28 09:41:46 +00:00
format: 'esm',
watch: [...commonWatchList(), ...monorepoWatchList()],
target: targetFromNodeVersion(),
plugins: [watchEntryPlugin()],
});