diff options
-rw-r--r-- | lib/compiler-finder.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/compiler-finder.js b/lib/compiler-finder.js index 831255684..2a809dd54 100644 --- a/lib/compiler-finder.js +++ b/lib/compiler-finder.js @@ -384,7 +384,14 @@ export class CompilerFinder { compiler.tools = _.omit( fullOptions.tools[langId], tool => tool.isCompilerExcluded(compiler.id, (propName, def) => { - return this.compilerProps(langId, propName, def); + let val = this.compilerProps(langId, `compiler.${compiler.id}.${propName}`); + if (!val) { + if (compiler.group) { + val = this.compilerProps(langId, `group.${compiler.group}.${propName}`); + if (!val) return def; + } + } + return val; })); } } |