UNPKG

consensys-ui

Version:

Consensys UI component library and design system

20 lines (19 loc) 423 B
import { defineConfig, Options } from 'tsup'; export default defineConfig((options: Options) => ({ entry: [ 'src/index.ts', ], banner: { js: "'use client'", }, clean: true, format: ['esm', 'cjs'], dts: true, sourcemap: true, splitting: false, ...options, esbuildOptions(options) { options.jsx = 'preserve'; options.resolveExtensions = ['.web.tsx', '.web.ts', '.tsx', '.ts']; }, }));