diff --git a/lib/index.js b/lib/index.js index 36859a8..b918f8e 100644 --- a/lib/index.js +++ b/lib/index.js @@ -6,7 +6,9 @@ var livereloadPartial = require("@joepie91/gulp-partial-livereload"); var cache = require("gulp-cached"); var sass = require("gulp-sass"); -module.exports = function (options) { +module.exports = function () { + var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; + var cacheKey = options.cacheKey != null ? options.cacheKey : "preset"; var streamList = [cache(cacheKey), sass()];