From b0b0393773e644d956c5981c6fb4a91b2ed79810 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 18 Dec 2016 21:31:17 +0100 Subject: [PATCH] Add missing compiled version --- lib/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()];