diff --git a/gulpfile.js b/gulpfile.js index 0ba8940562..9a78164982 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -181,7 +181,7 @@ gulp.task('css', function() { } }, ); - file.contents = new Buffer(replaced); + file.contents = Buffer.from(replaced); callback(null, file); }), )