Skip to content

Commit 852b400

Browse files
author
David Narbutovich
committed
Add default options
1 parent 619f603 commit 852b400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { groupCssMediaQueries } = require("./group-css-media-queries");
1010
const pipeline = postcss(groupCssMediaQueries);
1111

1212
function GroupCssMediaQueriesLoader(inputSource, prevMap, meta) {
13-
const options = getOptions(this);
13+
const options = getOptions(this) || {};
1414
const sourceMap =
1515
options.sourceMap === undefined
1616
? this.sourceMap

0 commit comments

Comments
 (0)