MikeKovarik / gulp-better-rollup

📦 Better Gulp plugin for Rollup ES6 module bundler
MIT License
49 stars 16 forks source link

Setter default value #19

Closed nikolayemrikh closed 6 years ago

nikolayemrikh commented 6 years ago

For example i have this code:

const obj = {
    set field(num = 1) {this._num = num;},
    get field() {return this._num;}
};

Got unhandled error inside gulp-better-rollup:

setter should have exactly one param

Perfectly works in chrome

2018-04-07 22 33 29