Expose ExtractorSession for Playwright/camoufox-js so Node automations can import context dumps instead of shelling out to the Python package. Same fixture as the Python tests; wired into Makefile and Gitea CI.
13 lines
280 B
TypeScript
13 lines
280 B
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: { index: 'src/index.ts' },
|
|
format: ['esm'],
|
|
dts: true,
|
|
sourcemap: true,
|
|
splitting: false,
|
|
treeshake: true,
|
|
clean: true,
|
|
external: ['playwright-core', '@playwright/test', 'playwright'],
|
|
});
|