Skip to content

Commit 4900f4b

Browse files
committed
feat: remove incremental mode unsupported flag
close #787
1 parent cd4127b commit 4900f4b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/vue-tsc/bin/vue-tsc.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ fs.readFileSync = (...args) => {
2424
);
2525

2626
// proxy createProgram apis
27-
tsc = tsc.replace(
28-
`function createIncrementalProgram(_a) {`,
29-
`function createIncrementalProgram(_a) { console.error('incremental mode is not yet supported'); throw 'incremental mode is not yet supported';`,
30-
);
3127
tsc = tsc.replace(
3228
`function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {`,
3329
`function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) { return require(${JSON.stringify(proxyPath)}).createProgramProxy(...arguments);`,

0 commit comments

Comments
 (0)