From e682224746f585863c37a2090fe828bec853e885 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 16 May 2021 21:13:54 +0200 Subject: [PATCH] [ticket/16775] Resolve issues noticed by xo in gulpfile PHPBB3-16775 --- gulpfile.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 9bd47b24ba..cd3b0c0cb8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,6 +1,5 @@ 'use strict'; -const del = require('del'); const gulp = require('gulp'); const autoprefixer = require('autoprefixer'); const rename = require('gulp-rename'); @@ -16,10 +15,10 @@ const paths = { styles: { src: './phpBB/styles/prosilver/theme/*.css', css: './phpBB/styles/prosilver/theme/', - } + }, }; -function css () { +function css() { return gulp.src(paths.styles.src) .pipe( postcss([ @@ -31,7 +30,7 @@ function css () { } /** @todo: currently does not properly work, needs to be fixed */ -function minify () { +function minify() { return gulp.src(paths.styles.src, { sourcemaps: true }) .pipe( postcss([