Files
rudder-js-sdk/tsup.config.ts
T
rudder 3ab2d4a6cf
CI / check (push) Successful in 56s
Initial commit
2026-08-12 14:02:25 +03:00

15 lines
330 B
TypeScript

import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
target: 'es2022',
dts: true,
clean: true,
// Code-split the lazily-imported scenario engine out of the initial chunk.
splitting: true,
treeshake: true,
platform: 'browser',
outDir: 'dist',
});