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

Removing arrow functions so we can build easier #11

Closed

Conversation

dijs
Copy link

@dijs dijs commented Aug 3, 2018

@SamVerschueren
Copy link

This module mainly targets Node.js, not the browser. 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.

@dijs dijs deleted the make-create-react-app-dependable branch August 3, 2018 05:42
@dijs
Copy link
Author

dijs commented Aug 3, 2018

Yeah, was just about to delete this. Looks like create react app released a better way to compile third party libs. Although their error documentation did not point me to it... grrr...

facebook/create-react-app#3815

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

Successfully merging this pull request may close these issues.

2 participants