UNPKG

gtfs-to-blocks

Version:

Generate CSV of transit departure times organized by block_id in GTFS.

19 lines (17 loc) 414 B
import { defineConfig } from 'tsdown' export default defineConfig({ entry: ['src/index.ts', 'src/bin/gtfs-to-blocks.ts'], dts: true, clean: true, format: ['esm'], outExtensions: () => ({ js: '.js', dts: '.d.ts' }), sourcemap: true, minify: false, target: false, inputOptions: { onwarn(warning, warn) { if (warning.code === 'SOURCEMAP_BROKEN') return warn(warning) }, }, })