Files
mridatalib/tsdown.config.ts
orrisroot 56d1cf0bc2 build: modernize build system and tooling
Migrate from tsc to tsdown for multi-format (ESM/CJS) builds.
Replace Prettier with Biome for formatting and linting.
Upgrade ESLint to flat config (v10) and TypeScript to v6.
Drop Yarn in favor of npm for package management.
Configure dual ESM/CJS exports with proper type declarations.
Add publishing configuration and release scripts.
Reformat source files to 2-space indentation.
2026-05-28 20:20:50 +09:00

14 lines
244 B
TypeScript

import { defineConfig } from 'tsdown';
export default defineConfig({
entry: ['./src/g3d.ts', './src/m3d.ts'],
format: ['esm', 'cjs'],
dts: true,
outDir: 'dist',
sourcemap: true,
clean: true,
deps: {
neverBundle: [],
},
});