mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 14:14:17 +00:00
chore: tooling (#2040)
* 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>
This commit is contained in:
committed by
GitHub
parent
3a0df0b491
commit
c7d8b137ca
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user