babel/generator-babel-boilerplate

IE & Safari build issues

Closed this issue · 3 comments

glued commented

When I build using the boilerplate the resulting library works in Chrome & Firefox but in IE I get an error Promise is undefined and in Safari I get Can't find variable: Symbol Do I need to configure the gulpfile differently from the default to make it compatible? I assume I need to add the polyfill? or do I use the runtime ?

I assume I need to add the polyfill?

Yah.

Did that work @glued? 😛

glued commented

yeah I included the JS file browser-polyfill.min.js like the tests and it works.
How would I add it automatically to the build in the gulpfile?