UNPKG

binfo

Version:

A high-performance npm package that provides card BIN (Bank Identification Number) information quickly and efficiently with SQL.

33 lines (32 loc) 745 B
import { defineConfig } from 'tsup'; export default defineConfig({ shims: true, outDir: './dist', entryPoints: ['src/**/*'], format: ['cjs', 'esm'], /* experimentalDts: true, */ dts: true, tsconfig: 'tsconfig.json', sourcemap: true, clean: true, keepNames: true, minify: false, skipNodeModulesBundle: true, target: 'node16', external: [], splitting: false, treeshake: true, ignoreWatch: ['**/dist', '**/node_modules'], /* watch: ['src'], */ banner: { js: '/* Package */', css: '/* Package */', }, footer: { js: '/* Package */', css: '/* Package */', }, metafile: true, bundle: true, config: 'tsup.config.ts', });