Skip to content

Commit

Permalink
Removed image management from Gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jac21 committed Nov 22, 2024
1 parent 96fcd88 commit b329d34
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 3,691 deletions.
14 changes: 0 additions & 14 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
var gulp = require("gulp"); // gulping!
var browserSync = require("browser-sync"); // sync browser with code changes!
var lint = require("gulp-eslint"); // lint JS files!
const imagemin = require("gulp-imagemin"); // optimizing images!
var rename = require("gulp-rename"); // renaming JS!
var uncss = require("gulp-uncss"); // shedding CSS!
var crass = require("gulp-crass"); // optimizing CSS!
Expand Down Expand Up @@ -56,18 +55,6 @@ gulp.task("browser-sync", function () {
});
});

// image task
gulp.task("images", function () {
return gulp
.src(config.paths.images)
.pipe(
imagemin({
progressive: true,
})
)
.pipe(gulp.dest(destConfig.paths.images));
});

// Library scripts task
gulp.task("lib-scripts", function () {
return gulp
Expand Down Expand Up @@ -135,7 +122,6 @@ gulp.task("watch", function () {
gulp.watch(config.paths.applicationJavascript, gulp.series("lint"));
gulp.watch(config.paths.applicationJavascript, gulp.series("scripts"));
gulp.watch(config.paths.libJavascript, gulp.series("lib-scripts"));
gulp.watch(config.paths.images, gulp.series("images"));
gulp.watch(config.paths.styles, gulp.series("crass"));
});

Expand Down
Loading

0 comments on commit b329d34

Please sign in to comment.