mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16775] Resolve issues noticed by xo in gulpfile
PHPBB3-16775
This commit is contained in:
parent
7ec618155e
commit
e682224746
1 changed files with 3 additions and 4 deletions
|
@ -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([
|
||||
|
|
Loading…
Add table
Reference in a new issue