Skip to content

Commit

Permalink
Merge 6a2f0b0 into 2484275
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed May 3, 2018
2 parents 2484275 + 6a2f0b0 commit 35a44dc
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 @@ -40,7 +40,7 @@ const SyntaxError = require('./Error')
* @return {cb} cb Result
*/
module.exports = function loader (css, map, meta) {
const options = Object.assign({}, loaderUtils.getOptions(this))
const options = loaderUtils.getOptions(this) || {};

validateOptions(require('./options.json'), options, 'PostCSS Loader')

Expand Down

0 comments on commit 35a44dc

Please sign in to comment.