seyfert/packages/extra/tsup.config.ts
Drylozu 220069a89c
feat(extra): collectors (#86)
* feat: collectors

* import type

* fix: collector.once
2022-08-01 19:05:25 +00:00

13 lines
251 B
TypeScript

import { defineConfig } from 'tsup';
const isProduction = process.env.NODE_ENV === 'production';
export default defineConfig({
clean: true,
dts: true,
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
minify: isProduction,
sourcemap: true,
});