stoeffel / gulp-param

Add params to your tasks
26 stars 8 forks source link

Does this work with ES6? #5

Closed mlennon3 closed 9 years ago

mlennon3 commented 9 years ago

When I use gulp-param with a require('babel/register'); in my gulpfile, I get an error:

TypeError: Cannot redefine property: startsWith

This seems to be a problem with the startsWith polyfill, is there any way around this?

stoeffel commented 9 years ago

gulp-param works with es6 for me, checkout this making gulp work with es6

stoeffel commented 9 years ago

@mlennon3 Did it work now?

mlennon3 commented 9 years ago

Yup, thanks!