- `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
17 lines
453 B
TypeScript
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,
|
|
});
|