Skip to content

Commit

Permalink
default options, closes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
jescalan committed Oct 6, 2016
1 parent 70a5d85 commit 8cb2441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cb2441

Please sign in to comment.