Skip to content

Commit 095814e

Browse files
fix: do not crash on importers for modern API (#1052)
1 parent 58ffb68 commit 095814e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/utils.js

+3-6
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,9 @@ async function getSassOptions(
226226
}
227227

228228
options.importers = options.importers
229-
? proxyCustomImporters(
230-
Array.isArray(options.importers)
231-
? options.importers
232-
: [options.importers],
233-
loaderContext
234-
)
229+
? Array.isArray(options.importers)
230+
? options.importers
231+
: [options.importers]
235232
: [];
236233
} else {
237234
options.file = resourcePath;

0 commit comments

Comments
 (0)