UNPKG

nyro

Version:

A simple and effective promise-based HTTP & HTTP/2 request library that supports all HTTP methods.

24 lines (23 loc) 461 B
import { defineConfig } from 'tsup'; export default defineConfig({ entry: ['src/index.ts'], dts: true, format: ['cjs', 'esm'], target: 'esnext', splitting: false, sourcemap: true, clean: true, minify: false, banner: { js: '/* Nyro */', css: '/* Nyro */', }, footer: { js: '/* Nyro */', css: '/* Nyro */', }, ignoreWatch: ['**/dist', '**/node_modules'], metafile: true, bundle: true, config: 'tsup.config.ts', });