Skip to content

Commit

Permalink
feat: remove incremental mode unsupported flag
Browse files Browse the repository at this point in the history
close #787
  • Loading branch information
johnsoncodehk committed Jul 17, 2022
1 parent cd4127b commit 4900f4b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/vue-tsc/bin/vue-tsc.js
Expand Up @@ -24,10 +24,6 @@ fs.readFileSync = (...args) => {
);

// proxy createProgram apis
tsc = tsc.replace(
`function createIncrementalProgram(_a) {`,
`function createIncrementalProgram(_a) { console.error('incremental mode is not yet supported'); throw 'incremental mode is not yet supported';`,
);
tsc = tsc.replace(
`function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {`,
`function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) { return require(${JSON.stringify(proxyPath)}).createProgramProxy(...arguments);`,
Expand Down

0 comments on commit 4900f4b

Please sign in to comment.