mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-04 06:58:02 +00:00
c7d8b137ca
* chore: only run release action if we have a tag * chore: typescript 6 is out of beta * chore: update flaky test * chore: update pnpm * chore: update playwright and node types * chore: migrate tsup to tsdown * chore: update node to node 22.22.2(LTS) * chore: fix lockfile --------- Co-authored-by: alex-Arc <omnivox@LAPTOP-RC5SNBVV.localdomain>
23 lines
477 B
JavaScript
23 lines
477 B
JavaScript
import { defineConfig } from 'tsdown';
|
|
|
|
const config = defineConfig({
|
|
clean: false, // we can't use clean as it runs after the copy plugin
|
|
entry: ['src/main.ts'],
|
|
outDir: 'dist',
|
|
unbundle: true,
|
|
dts: {
|
|
resolve: true,
|
|
tsconfig: './tsconfig.dts.json',
|
|
eager: true,
|
|
},
|
|
deps: {
|
|
alwaysBundle: ['ontime-types'],
|
|
onlyBundle: ['ontime-types', 'ts-essentials'],
|
|
},
|
|
format: 'esm',
|
|
target: 'esnext',
|
|
platform: 'node',
|
|
});
|
|
|
|
export default config;
|