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.
sass-embedded
1 parent d3827f2 commit c8dae87Copy full SHA for c8dae87
1 file changed
src/utils.js
@@ -15,8 +15,13 @@ function getDefaultSassImplementation() {
15
try {
16
require.resolve("node-sass");
17
sassImplPkg = "node-sass";
18
- } catch (ignoreError) {
19
- sassImplPkg = "sass";
+ } catch (error) {
+ try {
20
+ require.resolve("sass-embedded");
21
+ sassImplPkg = "sass-embedded";
22
+ } catch (ignoreError) {
23
+ sassImplPkg = "sass";
24
+ }
25
}
26
27
0 commit comments