Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

jsnext:main entry point contains unsupported syntax #38

Closed
dpikt opened this issue Mar 30, 2018 · 1 comment
Closed

jsnext:main entry point contains unsupported syntax #38

dpikt opened this issue Mar 30, 2018 · 1 comment
Assignees

Comments

@dpikt
Copy link
Contributor

dpikt commented Mar 30, 2018

The src/ folder contains files that use object rest spread syntax, which will fail to build in projects that don't apply the requisite babel transform.

jsnext:main doesn't mean all language features are supported, but actually just indicates that an es2015 module is being exported (See this issue).

This could be resolved either by using lib as the only entry point or by replacing the spread syntax in src/.

@ghost ghost assigned yesmeck Mar 30, 2018
@yesmeck
Copy link
Owner

yesmeck commented Apr 2, 2018

@dpikt Could you send a PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants