(tsm: typeof ts, configFileNamePath: string, projectDir: string)
| 138 | } |
| 139 | |
| 140 | function readConfig(tsm: typeof ts, configFileNamePath: string, projectDir: string) { |
| 141 | const result = tsm.readConfigFile(configFileNamePath, tsm.sys.readFile); |
| 142 | if (result.error) { |
| 143 | throw new Error('tsconfig.json error: ' + result.error.messageText); |
| 144 | } |
| 145 | return tsm.parseJsonConfigFileContent(result.config, tsm.sys, projectDir, undefined, configFileNamePath); |
| 146 | } |
| 147 | |
| 148 | function preparePluginsFromCompilerOptions(plugins: any): PluginConfig[] { |
| 149 | if (!plugins) return []; |
no outgoing calls
no test coverage detected
searching dependent graphs…