-
Gulp Copy uses chokidar 2, please update
-
here is your npm api
**var gulp = require('gulp');
var imagemin = require('gulp-tinypng');
gulp.task('tinypng', function () {
gulp.src('src/image.png')
.pipe(tingpng('API_KEY'))
…
-
given a task such as:
```
gulp.task('_replacer', ['_set_env'], function () {
return gulp.src(fileList, {cwd: attackPath})
.pipe(frep(patterns))
.pipe(gulp.dest(outputPath));
});
`…
-
Whenever I edit and save a Javascript file under ~/prj/src/scripts, I receive the error listed below. No further information is provided within the gulp script or the error.
The output below is the s…
seamc updated
10 years ago
-
### [gulp](http://gulpjs.com/)
```
npm install -g gulp-cli
npm init
npm install gulp --save-dev
```
> gulpfile.js
```
var gulp = require('gulp');
gulp.task('hello', function() {
console.log('Hel…
-
I usually have a package.json and a gulpfile.js in each of my projects and manually run 'gulp' from command line to run gulp-imagemin to optimize all images in my project. I'd love it if I could optim…
-
Hello,
I'm interested in using the standalone panini in my project. However, I'm struggling to get it to work and recognize my partials. I've set up my Panini gulp task as so:
```
// fix for autopr…
-
### Error
```log
[18:25:48] TypeError: imagemin.optipng is not a function
```
Doesn't seem to detect any of the plugins and fails on whatever it hits first, in the above error imagemin.optipng. I'…
-
Hi, thanks for your repo.
I found an issue when set max '!inline' tags.
For example, if i set all 2 images's tags to '!inline' when there are 2 images total in the html.
Hope for your response.
-
## gulpconfig
```
const gulp = require('gulp');
const webp = require('gulp-webp');
gulp.task('img', () => {
return gulp
.src('src/*')
.pipe(webp())
.pipe(gulp.dest('dist'));
…