Closed pensierinmusica closed 5 years ago
Hi, using Gulp v4.0.2 and gulp-rename v1.4.0, I get a RangeError: Maximum call stack size exceeded error, with this code:
RangeError: Maximum call stack size exceeded
const { dest, src } = require('gulp'); const grename = require('gulp-rename'); exports.rename = function () { return src('./*.txt') .pipe(grename(path => { path.basename = path.basename.replace(/foo/, 'bar'); })) .pipe(dest('./dist')); };
Nevermind, my mistake.
I get into trouble in the same mistake,could you tell me the resolution?
Hi, using Gulp v4.0.2 and gulp-rename v1.4.0, I get a
RangeError: Maximum call stack size exceeded
error, with this code: