Commit cf94d31
committed
Fix Sass fallback to pass implementation object
Ensure sass-loader receives the correct implementation in CJS/ESM environments by using mod.default || mod when falling back to 'sass'. This aligns with the 'sass-embedded' path and avoids interop pitfalls. No functional output changes are expected; this improves compatibility and reduces deprecation warnings in some environments1 parent d9cc0eb commit cf94d31
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 98 | + | |
| 99 | + | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
| |||
0 commit comments