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
Hey it would be wonderful if the SRC variable could accept an array of strings that then could be compared in the destination.
SRC
Example
'use strict'; const changed = require('gulp-changed'); const eslint = require('gulp-eslint'); const gulp = require('gulp'); const path = require('path'); const rootDir = path.join(__dirname, '..'); const changedOptions = { cwd: rootDir }; gulp.task('lint:js', () => { const files = [ 'src/resources/base/**/*.js', 'src/resources/components/**/*.js', 'src/resources/data/**/*.js', 'src/resources/layouts/**/*.js', 'src/resources/pages/**/*.js', 'src/resources/patterns/**/*.js', 'src/resources/xml/**/*.js', 'gulp-tasks/**/*.js' ]; return gulp.src(files) .pipe(changed('build/resources/', changedOptions)) .pipe(eslint()) .pipe(eslint.format()); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey it would be wonderful if the
SRC
variable could accept an array of strings that then could be compared in the destination.Example
The text was updated successfully, but these errors were encountered: