Skip to content

Commit b81d983

Browse files
committed
refactor: 💡 defaults map name
1 parent 5274942 commit b81d983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: ‎src/modules/language.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { basename } from 'path';
33
import { PreprocessorArgs } from '../types';
44
import { isValidLocalPath } from './utils';
55

6-
const LANG_SPECIFIC_OPTIONS: Record<string, any> = {
6+
const LANGUAGE_DEFAULTS: Record<string, any> = {
77
sass: {
88
indentedSyntax: true,
99
stripIndent: true,
@@ -26,7 +26,7 @@ const LANG_SPECIFIC_OPTIONS: Record<string, any> = {
2626
};
2727

2828
export function getLanguageDefaults(lang: string): null | Record<string, any> {
29-
const defaults = LANG_SPECIFIC_OPTIONS[lang];
29+
const defaults = LANGUAGE_DEFAULTS[lang];
3030

3131
if (!defaults) return null;
3232
if (typeof defaults === 'function') {

0 commit comments

Comments
 (0)