UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

22 lines (20 loc) 439 B
import { defineConfig } from 'tsdown'; export default defineConfig({ outDir: './lib', entry: [ './index.ts', 'src/**/*.ts', 'common/**/*.ts', 'listener/**/*.ts', 'cli/**/*.ts', '!cli/**/webServerlessSpy.ts', 'functions/**/*.ts', ], unbundle: true, outputOptions: { banner: (chunk) => chunk.fileName.endsWith('.mjs') ? 'const __dirname = import.meta.dirname;' : '', }, });