developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8.04k stars 362 forks source link

Fix mangle.json being overwritten with [object Object] #926

Closed developit closed 2 years ago

developit commented 2 years ago

Regression from #882.

changeset-bot[bot] commented 2 years ago

⚠️ No Changeset found

Latest commit: 2cf63accfacc9c6eaa2fd97c468007a99d411497

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

developit commented 2 years ago

Funky, yeah. I just peeked and there are no issues mentioning this on changesets/changesets or changesets/bot. The logic for detecting added changesets seems pretty straightforward. Maybe I clicked too fast? haha