We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6358873 commit 06c99d5Copy full SHA for 06c99d5
lib/Config.js
@@ -23,14 +23,6 @@ class Config {
23
if (!this.directory) { throw new Error('directory not given'); }
24
if (this.filter && typeof this.filter !== 'function') { throw new Error('filter must be a function'); }
25
26
- if ('string' === typeof this.tsConfig) {
27
- debug('preparsing the ts config into an object for performance');
28
- const ts = require('typescript');
29
- const tsParsedConfig = ts.readJsonConfigFile(this.tsConfig, ts.sys.readFile);
30
- const obj = ts.parseJsonSourceFileConfigFileContent(tsParsedConfig, ts.sys, path.dirname(this.tsConfig));
31
- this.tsConfig = obj.raw;
32
- }
33
-
34
debug('given filename: ' + this.filename);
35
36
this.filename = path.resolve(process.cwd(), this.filename);
0 commit comments