Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build with this as a dependency #26

Closed
jdoklovic opened this issue Sep 18, 2019 · 2 comments
Closed

Can't build with this as a dependency #26

jdoklovic opened this issue Sep 18, 2019 · 2 comments

Comments

@jdoklovic
Copy link

./node_modules/p-event/index.js Module parse failed: Unexpected token (29:3) You may need an appropriate loader to handle this file type. | multiArgs: false, | resolveImmediately: false, | ...options | }; |

@sindresorhus
Copy link
Owner

That's a problem with your bundler, not this code. The module runs fine on Node.js.

@jdoklovic
Copy link
Author

It would be nice if es modules were provided as well. Otherwise I have to transpile this from the node_modules directory which isn't great

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

No branches or pull requests

2 participants