We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm really new to using node, so please forgive me if there's a pretty basic error.
when I run my scripts task (below) I get the following error:
scripts
Error in plugin "gulp-inject" Message: Sort option is deprecated! Use `sort-stream` module instead!
I'm not attempting to use the sort option at all. Why is this error appearing?
var paths = { source: { jswrapper: 'src/js/wrapper.js', functions: 'src/js/functions/*.js', scripts: 'src/js/*.js' }, dist: { scripts: 'dist/js' } }; gulp.task('scripts', function () { var target = gulp.src(paths.source.jswrapper); var sources = gulp.src([paths.source.functions, paths.source.scripts]); var options = [ {starttag: '/* inject:js */'}, {endtag: '/* endinject */'} ] return scripts = target.pipe(inject(sources, options)) .pipe(uglify().on('error', onError)) .pipe(gulp.dest(paths.dist.scripts)); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm really new to using node, so please forgive me if there's a pretty basic error.
when I run my
scripts
task (below) I get the following error:I'm not attempting to use the sort option at all. Why is this error appearing?
The text was updated successfully, but these errors were encountered: