From 8cb2441d4443cc73878e0ad4184525b65395633f Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Thu, 6 Oct 2016 15:29:32 -0400 Subject: [PATCH] default options, closes #3 --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 339a8e6..af00315 100644 --- a/lib/index.js +++ b/lib/index.js @@ -3,7 +3,7 @@ let postcssImport = require('postcss-import') let cssnext = require('postcss-cssnext') let rucksack = require('rucksack-css') -module.exports = (options) => { +module.exports = (options = {}) => { // sugarss by default unless false or custom parser let parser = options.parser || sugarss if (options.parser === false) parser = undefined