Files
ontime/apps/resolver/tsdown.config.js
Alex Christoffer Rasmussen c7d8b137ca 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>
2026-03-27 19:31:41 +01:00

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;