From c4507ec4285a22ceb40fc310c9049e0bf56f1f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E7=BF=A9?= Date: Thu, 14 Mar 2024 09:06:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index ca2bd84..c4ae08b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -16,8 +16,6 @@ var fileinclude = require("gulp-file-include"); var babel = require('gulp-babel'); -const imagemin = require('gulp-imagemin'); -// npm install gulp-imagemin @6.1.0 // 创建 gulp.task("connect", function () { connect.server({ @@ -103,7 +101,6 @@ gulp.task('script', () => { gulp.task("img", function () { return gulp .src('src/static/img/*.{jpg,png}') - .pipe(imagemin()) .pipe(gulp.dest("dist/static/img/")) .pipe(connect.reload()); //更新; });