acornjs / acorn-jsx

Alternative, faster React.js JSX parser
MIT License
648 stars 72 forks source link

Broken with latest acorn #90

Closed alansouzati closed 5 years ago

alansouzati commented 5 years ago

I'm using react-live, that uses buble behind the scenes.

Recently it seems that acorn removed default export from their library. I think they did not follow semantic versioning properly, since this seems like a breaking change to consumers.

acorn-jsx still relies on the default export to be present. And configures acorn as a peerDependency.

See:

https://github.com/Rich-Harris/buble/issues/159

alansouzati commented 5 years ago

Never I think it is a problem with conflicting acorn versions in the same project.