Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

damienbutt
Copy link
Contributor

Hi,

According to the docs at https://paka.dev/npm/[email protected]/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
Copy link

codesandbox bot commented Sep 7, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@vercel
Copy link

vercel bot commented Sep 7, 2023

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

@sxzz sxzz force-pushed the dev branch 2 times, most recently from 115a451 to 57654f6 Compare July 16, 2024 21:02
@sxzz sxzz deleted the branch egoist:main September 17, 2024 05:23
@sxzz sxzz closed this Sep 17, 2024
@sxzz sxzz reopened this Sep 17, 2024
@sxzz sxzz changed the base branch from dev to main September 17, 2024 05:40
@sxzz sxzz changed the title fix(json-schema): update "minify" property to allow boolean or "terser" fix: add terser value to minify option in schema.json Sep 17, 2024
@sxzz sxzz merged commit 34951bf into egoist:main Sep 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants