peh / grails-babel-asset-pipeline

babel.js transformation for grails-asset-pipeline
7 stars 2 forks source link

add Babel polyfill #8

Open musketyr opened 8 years ago

musketyr commented 8 years ago

I just wonder what is the proper way how to include babel polyfill to my project. should it by distributed with the plugin?

peh commented 7 years ago

not sure as i have never used it. as the babel documentation states that it adds itself to the global scope i guess it might be enough to just include it like any other js lib

peh commented 7 years ago

if that helped or is not needed anymore could you please let me know so i can close this issue?!

musketyr commented 7 years ago

I haven't figured any way ho to do so. As far as I know the polyfill is distributed as/part of node package and I have no clue how to include it to the pipeline. I'm using corejs polyfills instead at the moment.