Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

351 B
Raw Blame
import { defineConfig } from 'tsup';

export default defineConfig({
  entry: { index: 'src/index.ts' },
  format: ['esm'],
  outDir: 'dist',
  dts: true,
  splitting: false,
  sourcemap: false,
  clean: false,
  external: ['react', 'react-dom', 'react/jsx-runtime', '@swc/helpers'],
  esbuildOptions(options) {
    options.jsx = 'automatic';
  },
});