Skip to content

Commit 444d824

Browse files
authored
Merge pull request #147 from devinmatte/gulp_update
Fixing css minify
2 parents 3130348 + 1d6241d commit 444d824

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gulpfile.js/tasks/favicon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const FAVICON_DATA_FILE = 'faviconData.json';
99
// You should run it at least once to create the icons. Then,
1010
// you should run it whenever RealFaviconGenerator updates its
1111
// package (see the check-for-favicon-update task below).
12-
gulp.task('generate-favicon', function (done) {
12+
gulp.task('generate-favicon', (done) => {
1313
realFavicon.generateFavicon({
1414
masterPicture: 'packet/static/assets/logo.svg',
1515
dest: 'packet/static',

gulpfile.js/tasks/pylint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const gulp = require('gulp');
22
const exec = require('child_process').exec;
33

4-
let pylintTask = function (cb) {
4+
let pylintTask = (cb) => {
55
exec('pylint packet', function (err, stdout, stderr) {
66
console.log(stdout);
77
console.log(stderr);

gulpfile.js/tasks/stylesheets.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const cleanCSS = require('gulp-clean-css');
44
const rename = require("gulp-rename");
55

66
// Compile SCSS
7-
gulp.task('sass:compile', function () {
7+
gulp.task('sass:compile', () => {
88
return gulp.src('frontend/scss/**/*.scss')
99
.pipe(sass.sync({
1010
outputStyle: 'expanded'
@@ -13,7 +13,7 @@ gulp.task('sass:compile', function () {
1313
});
1414

1515
// Minify CSS
16-
gulp.task('css:minify', gulp.series('sass:compile'), function () {
16+
gulp.task('css:minify', () => {
1717
return gulp.src([
1818
'packet/static/css/*.css',
1919
'!packet/static/css/*.min.css'

0 commit comments

Comments
 (0)