withastro / compiler

The Astro compiler. Written in Go. Distributed as WASM.
Other
502 stars 59 forks source link

revert: top level returns transformations #1036

Closed Princesseuh closed 3 months ago

Princesseuh commented 3 months ago

Changes

The scanner implementation was too naive and didn't work in many cases, users are starting to hit issues, I can't figure it out quickly, so reverting for now.

Testing

N/A

Docs

N/A

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 88de54c64791d961d4bc502a5f92b05665318f6c

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

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | @astrojs/compiler | 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