Answer the question
In order to leave comments, you need to log in
Gulp 4, gulp-imacss and Deprecation Warning, what to do?
I am learning to work with Gulp 4 and tried the 'gulp-imacss'
pluginvar imacss = require('gulp-imacss')
var imguri = {
in: source + 'images/inline/*',
out: source + 'scss/images/',
filename: '_datauri.scss',
namespace: 'img'
};
gulp.task('imguri', function () {
return gulp.src(imguri.in)
.pipe(imagemin())
.pipe(imacss(imguri.filename, imguri.namespace))
.pipe(gulp.dest(imguri.out))
});
gulp imguri
and receive
Starting 'imguri'...
(node:90037) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
The following tasks did not complete: imguri
Did you forget to signal async completion?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question