We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Object.assign
1 parent 2484275 commit 6a2f0b0Copy full SHA for 6a2f0b0
lib/index.js
@@ -40,7 +40,7 @@ const SyntaxError = require('./Error')
40
* @return {cb} cb Result
41
*/
42
module.exports = function loader (css, map, meta) {
43
- const options = Object.assign({}, loaderUtils.getOptions(this))
+ const options = loaderUtils.getOptions(this) || {};
44
45
validateOptions(require('./options.json'), options, 'PostCSS Loader')
46
0 commit comments