feat: adding build process to logger package using tsup #7210

This commit is contained in:
sriram veeraghanta 2025-06-13 01:50:44 +05:30 committed by GitHub
parent 11b222ece8
commit ebc2bdcd3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 6 deletions

View file

@ -0,0 +1,12 @@
import { defineConfig } from "tsup";
export default defineConfig({
entry: ["src/index.ts"],
format: ["esm", "cjs"],
dts: true,
splitting: false,
sourcemap: true,
clean: true,
external: ["winston", "winston-daily-rotate-file"],
treeshake: true,
});