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

Switch from ES6 to ES5 to ensure compatability. #4

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Switch from ES6 to ES5 to ensure compatability. #4

wants to merge 1 commit into from

Conversation

egilll
Copy link

@egilll egilll commented Aug 12, 2018

Runes is not compiled with Babel, which leads to some difficulty when depending on it.

It is currently not possible to use runes in projects using create-react-app.

The only ES6 features being used by runes are const and let. I therefore suggest that we switch to ES5, or add a compile step.

**Runes** is not compiled with Babel, which leads to some difficulty when depending on it.

It is currently [not possible](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify) to use `runes` in projects using `create-react-app`.

The only ES6 features being used by **runes** are `const` and `let`. I therefore suggest that we switch to ES5, or add a compile step.
@quannt
Copy link

quannt commented Nov 29, 2018

I second this, have to fork the repo into my local and add babel to compile down to es5.

@danielcardoso5
Copy link

This is crucial for modern build processes

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.

None yet

3 participants