Ship browser helpers with public-host guards, ApiClient, structured logging, Prometheus timings, CI, examples, and ROADMAP for consumers.
17 lines
343 B
TypeScript
17 lines
343 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
index: 'src/index.ts',
|
|
'browser/index': 'src/browser/index.ts',
|
|
'api/index': 'src/api/index.ts',
|
|
},
|
|
format: ['esm', 'cjs'],
|
|
dts: true,
|
|
sourcemap: true,
|
|
clean: true,
|
|
splitting: false,
|
|
treeshake: true,
|
|
external: ['@playwright/test'],
|
|
});
|