We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc9da56 commit 4d0e9f3Copy full SHA for 4d0e9f3
src/helpers/config.ts
@@ -46,10 +46,13 @@ export async function prepareConfig(
46
replacers,
47
resolveFullPaths,
48
verbose,
49
- fileExtensions: fileExtensionsConfig
+ fileExtensions
50
} = loadConfig(configFile, output);
51
52
- const fileExtensions = { ...fileExtensionsConfig, ...options.fileExtensions };
+ if (options?.fileExtensions?.inputGlob)
53
+ fileExtensions.inputGlob = options.fileExtensions.inputGlob;
54
+ if (options?.fileExtensions?.outputCheck)
55
+ fileExtensions.outputCheck = options.fileExtensions.outputCheck;
56
57
output.verbose = verbose;
58
0 commit comments