Closed dschep closed 5 years ago
nice PR @SalvatorePreviti ;)
nevermind. can't do this bc babel-polyfill is needed for things like Object.values
& Object.entries
in older node versions
I see. Would you like a PR where the code is refactored to work on old node versions without the use of core-js or regenerator-runtime?
Another option would be to load core-js only if node is less than 8.10.0, load regenerator-runtime if >=
where the code is refactored to work on old node versions without the use of core-js or regenerator-runtime
meaning, something like using _.entries
and _.values
instead of functions that need to be polyfilled?
If so, I think I prefer your second suggestion (version based loading)
closes #24