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

Version 2.0.0 breaks karma test runner #6

Closed
mikkelwf opened this issue Jul 26, 2018 · 1 comment
Closed

Version 2.0.0 breaks karma test runner #6

mikkelwf opened this issue Jul 26, 2018 · 1 comment

Comments

@mikkelwf
Copy link

I think its because phantomjs (2.1.1) only support ES5, and not ES6...

@sindresorhus
Copy link
Owner

This module mainly targets Node.js, not the browser or PhantomJS. It's up to you to transpile it with Babel if you want to use it in the browser. You can find a more detailed explanation here: sindresorhus/ama#446

If you use Webpack, check out babel-engine-plugin, which transpiles only the dependencies that needs to be transpiled.

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