egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.
https://tsup.egoist.dev
MIT License
9.01k stars 217 forks source link

fix: add `terser` value to `minify` option in `schema.json` #991

Closed damienbutt closed 2 weeks ago

damienbutt commented 1 year ago

Hi,

According to the docs at https://paka.dev/npm/tsup@7.2.0/api#d35d54aca71eb26e, the minify property should accept either a boolean or "terser" as a string.

While using tsup this in the last couple of days, I found that I was getting warnings in my config that minify expects a boolean.

I made a local copy of the whole schema file in my project and made the changes in this PR which solved the problem.

Thanks D

codesandbox[bot] commented 1 year ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tsup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 7, 2023 10:52pm