build(tooling): modernize Node and TypeScript setup

This commit is contained in:
2026-08-24 14:12:04 +02:00
parent 58d77b9771
commit d750e5fe3f
10 changed files with 1403 additions and 592 deletions
+6 -1
View File
@@ -3,7 +3,12 @@ import { defineConfig } from 'tsup';
export default defineConfig({
format: ['cjs', 'esm'],
entry: ['./src/index.ts'],
dts: false,
dts: {
compilerOptions: {
// tsup's declaration bundler still sets the removed baseUrl option internally.
ignoreDeprecations: '6.0',
},
},
shims: true,
skipNodeModulesBundle: true,
clean: true,