Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 095814e

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-6
lines changed

‎src/utils.js

Copy file name to clipboardExpand all lines: src/utils.js
+3-6Lines changed: 3 additions & 6 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.