Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

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

export default defineConfig({
  format: ['cjs', 'esm'],
  entry: ['index.tsx', 'server.ts'],
  external: ['react', 'next'],
  dts: true,
  splitting: false,
  sourcemap: false,
  clean: true,
  minify: true,
});