mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
14 lines
367 B
TypeScript
14 lines
367 B
TypeScript
import { defineConfig } from 'tsdown';
|
|
|
|
export default defineConfig({
|
|
// Root barrel + i18n metadata barrel + one entry per locale (lazy-load chunks)
|
|
entry: ['src/index.ts', 'src/roadtrip/planning.ts', 'src/i18n/index.ts', 'src/i18n/*/index.ts'],
|
|
format: ['cjs', 'esm'],
|
|
dts: true,
|
|
clean: true,
|
|
deps: {
|
|
neverBundle: ['zod'],
|
|
},
|
|
target: false,
|
|
});
|