redux-ship icon indicating copy to clipboard operation
redux-ship copied to clipboard

How to use it without babel-polyfill?

Open apiep opened this issue 9 years ago • 1 comments

As the title stand. Any how I can use it without babel-polyfil? Because the dist / compiled file need globally available regeneratorRuntime.

Maybe something like un-compiled version? So, the dev can compile it by him self by utilizing babel-runtime & babel-transform-runtime?

Thanks, it was a good libs by the way :)

apiep avatar Nov 06 '16 18:11 apiep

Thanks for your feedback.

I think to run it in an ES5 environment we need a babel-polyfill to implement the generators. Are you are talking about compiling an ES6 version too? In Redux they seem to do it in this way: https://github.com/reactjs/redux/blob/master/package.json#L29 Does that sound reasonable?

clarus avatar Nov 07 '16 12:11 clarus