Currently running a fairly simple build script from one of my package, basically:
tsup --entry src/index.ts --format cjs,esm --no-splitting --sourcemap --dts --clean --entry src/bin/cli.ts
Unfortunately it does not properly inline the following enum: https://github.com/mgcrea/pino-pretty-compact/blob/v1.1.2/src/prettifier.ts#L56
It's currently manually inlined (for release) but just replace the number with the enum to test and rebuild.
Tried to remove all CLI options, but no more luck, it does not inline the enum (tsc
works).
Any idea?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too