dotcypress / runes

✂️ Unicode-aware JS string splitting
MIT License
226 stars 13 forks source link

Switch from ES6 to ES5 to ensure compatability. #4

Open egilll opened 6 years ago

egilll commented 6 years ago

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.

quannt commented 5 years ago

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

danielcardoso5 commented 4 years ago

This is crucial for modern build processes