Files
logger/tsup.config.ts
T
mifi c2bcc6c82c
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful
feat: now supports async functions for logging data
- `logger.debug('message', async () => ({ asyncReturn: await asyncFn() }))` is now supported
- NOTE: this may result in logging occurring out of band for these calls if other events fire befor they settle

Update CI labels to direct jobs to correct servers
2026-08-21 11:34:33 -03:00

17 lines
453 B
TypeScript

import { defineConfig } from "tsup";
export default defineConfig({
entry: { index: "src/index.ts", sentry: "src/sentry.ts" },
format: ["esm", "cjs"],
// tsup injects baseUrl for DTS; TS 6 treats that as an error until tsup stops
// (https://github.com/egoist/tsup/issues/1388)
dts: {
compilerOptions: {
ignoreDeprecations: "6.0",
},
},
clean: true,
target: "es2022",
sourcemap: true,
});