We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5274942 commit b81d983Copy full SHA for b81d983
‎src/modules/language.ts
@@ -3,7 +3,7 @@ import { basename } from 'path';
3
import { PreprocessorArgs } from '../types';
4
import { isValidLocalPath } from './utils';
5
6
-const LANG_SPECIFIC_OPTIONS: Record<string, any> = {
+const LANGUAGE_DEFAULTS: Record<string, any> = {
7
sass: {
8
indentedSyntax: true,
9
stripIndent: true,
@@ -26,7 +26,7 @@ const LANG_SPECIFIC_OPTIONS: Record<string, any> = {
26
};
27
28
export function getLanguageDefaults(lang: string): null | Record<string, any> {
29
- const defaults = LANG_SPECIFIC_OPTIONS[lang];
+ const defaults = LANGUAGE_DEFAULTS[lang];
30
31
if (!defaults) return null;
32
if (typeof defaults === 'function') {
0 commit comments