atlassian-labs / compiled

A familiar and performant compile time CSS-in-JS library for React.
https://compiledcssinjs.com
Apache License 2.0
1.99k stars 67 forks source link

Check for missing AST in parcel transformer #1645

Closed JakeLane closed 7 months ago

JakeLane commented 7 months ago

A simple fix to check for program being defined, as well as some more specific checks. This appears to occur in some edge cases where the AST object is available but the value is not set.

changeset-bot[bot] commented 7 months ago

🦋 Changeset detected

Latest commit: eec1603ea3dda47a310388288de8e5638d94ea2c

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

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