You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I think its because phantomjs (2.1.1) only support ES5, and not ES6...
The text was updated successfully, but these errors were encountered: