mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
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';
|
|
},
|
|
});
|