yesmeck/redux-modal

`jsnext:main` entry point contains unsupported syntax

Closed this issue · 1 comments

dpikt commented

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/.

@dpikt Could you send a PR?