Compare commits

...

2 Commits

@ -1,6 +1,6 @@
{ {
"name": "@joepie91/gulp-preset-scss", "name": "@joepie91/gulp-preset-scss",
"version": "1.0.1", "version": "1.0.2",
"description": "A Gulp preset for SCSS stylesheets", "description": "A Gulp preset for SCSS stylesheets",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

@ -6,7 +6,7 @@ const livereloadPartial = require("@joepie91/gulp-partial-livereload");
const cache = require("gulp-cached"); const cache = require("gulp-cached");
const sass = require("gulp-sass"); const sass = require("gulp-sass");
module.exports = function(options) { module.exports = function(options = {}) {
let cacheKey = (options.cacheKey != null) ? options.cacheKey : "preset"; let cacheKey = (options.cacheKey != null) ? options.cacheKey : "preset";
let streamList = [ let streamList = [
@ -23,4 +23,4 @@ module.exports = function(options) {
basePath: options.basePath basePath: options.basePath
} }
}); });
} }

Loading…
Cancel
Save