From 075e66fd9421faf3f2d78afa78b400e95e574031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Sun, 17 Dec 2023 16:01:33 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 652230b3..c0b6b211 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -97,7 +97,7 @@ exports.cp = gulp.series(() => del(copyDest), () => { // 复制 css js gulp.src(`${src}.{css,js}`) - .pipe(replace(/\n\/(\*|\/)\#[\s\S]+$/, '')) // 过滤 css 和 js 的 map 特定注释 + .pipe(replace(/\n\/(\*|\/)\#[\s\S]+$/, '')) // 过滤 css,js 的 map 特定注释 .pipe(gulp.dest(copyDest)); // 复制其他文件 @@ -105,7 +105,7 @@ exports.cp = gulp.series(() => del(copyDest), () => { src, `!${src}.{css,js,map}` // 过滤 map 文件 ]) - .pipe(replace(/\n\/(\*|\/)\#[\s\S]+$/, '')) // 过滤 css 和 js 的 map 特定注释 + .pipe(replace(/\n\/(\*|\/)\#[\s\S]+$/, '')) // 过滤 css,js 的 map 特定注释 .pipe(gulp.dest(copyDest)); });