melt-ui / preprocessor

19 stars 4 forks source link

chore: Simplified `{@const}` tag injection logic and prettified the output #39

Closed AdrianGonz97 closed 1 year ago

AdrianGonz97 commented 1 year ago

As of 0.1.0, the method of determining where an {@const} tag would be injected has changed. This new heuristic is much simpler than the previous iteration. As such, I've ripped out much of the logic that used to be needed.

I've also prettified the output so that it's more readable.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: c3f414a3aae0df1efd01abe2be0649d7a4e1da39

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | @melt-ui/pp | Patch |

Not sure what this means? Click here to learn what changesets are.

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