Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
fix(gulp): Correct dist filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikiki committed Feb 10, 2018
1 parent 8c6e9f6 commit 9dc4bee
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ var paths = {
bulma: 'node_modules/bulma/sass/utilities/',
jsPattern: '**/*.js'
}
var globalSassFile = package.name + '.sass';
var globalJsFile = package.name + '.sass';
var bulmaSassFile = '_all.sass';
var globalSassFile = package.name + '.sass';
var globalJsFile = package.name + '.js';
var mainSassFile = 'extension.sass';
var distCssFile = package.name + '.min.css';
var mainJsFile = 'extension.js';
var distCssFile = package.name + '.min.css';
var distJsFile = package.name + '.min.js';

/**
Expand Down Expand Up @@ -114,8 +114,11 @@ gulp.task('clean:scripts', function(callback) {
callback();
});

// Deletes the entire _site directory.
gulp.task('clean', ['clean:scripts', 'clean:styles']);
// Deletes the entire dist directory.
gulp.task('clean', ['clean:scripts', 'clean:styles'], function(callback) {
del(paths.dest);
callback();
});

/**
* ----------------------------------------
Expand Down

0 comments on commit 9dc4bee

Please sign in to comment.