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.
1 parent 35229b0 commit c6882f1Copy full SHA for c6882f1
lib/loader.js
@@ -203,11 +203,13 @@ module.exports = function (content) {
203
scoped: !!scoped,
204
hasInlineConfig: !!query.postcss
205
}) + '!'
206
- // normalize scss/sass
207
- if (lang === 'sass') {
208
- lang = 'sass?indentedSyntax'
209
- } else if (lang === 'scss') {
210
- lang = 'sass'
+ // normalize scss/sass if no specific loaders have been provided
+ if (!loaders[lang]) {
+ if (lang === 'sass') {
+ lang = 'sass?indentedSyntax'
+ } else if (lang === 'scss') {
211
+ lang = 'sass'
212
+ }
213
}
214
215
0 commit comments