mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16775] Fix syntax in gulpfile and remove minify from default tasks
PHPBB3-16775
This commit is contained in:
parent
57b0547fd6
commit
7ec618155e
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ function css () {
|
||||||
.pipe(gulp.dest(paths.styles.css));
|
.pipe(gulp.dest(paths.styles.css));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @todo: currently does not properly work, needs to be fixed */
|
||||||
function minify () {
|
function minify () {
|
||||||
return gulp.src(paths.styles.src, { sourcemaps: true })
|
return gulp.src(paths.styles.src, { sourcemaps: true })
|
||||||
.pipe(
|
.pipe(
|
||||||
|
@ -53,4 +54,4 @@ exports.css = css;
|
||||||
exports.minify = minify;
|
exports.minify = minify;
|
||||||
exports.watch = watch;
|
exports.watch = watch;
|
||||||
|
|
||||||
exports.default = gulp.series('css', 'minify', 'watch');
|
exports.default = gulp.series(css, watch);
|
||||||
|
|
Loading…
Add table
Reference in a new issue