Closed mlennon3 closed 9 years ago
When I use gulp-param with a require('babel/register'); in my gulpfile, I get an error:
require('babel/register');
TypeError: Cannot redefine property: startsWith
This seems to be a problem with the startsWith polyfill, is there any way around this?
gulp-param works with es6 for me, checkout this making gulp work with es6
gulp-param
@mlennon3 Did it work now?
Yup, thanks!
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?