diff --git a/src/index.js b/src/index.js index 03cba37..5c10b91 100644 --- a/src/index.js +++ b/src/index.js @@ -6,7 +6,7 @@ const livereloadPartial = require("@joepie91/gulp-partial-livereload"); const cache = require("gulp-cached"); const sass = require("gulp-sass"); -module.exports = function(options) { +module.exports = function(options = {}) { let cacheKey = (options.cacheKey != null) ? options.cacheKey : "preset"; let streamList = [ @@ -23,4 +23,4 @@ module.exports = function(options) { basePath: options.basePath } }); -} \ No newline at end of file +}