Skip to content

Commit

Permalink
fix(tsc): point to shimmed tsc entry point to support ts 5.7
Browse files Browse the repository at this point in the history
Typescript 5.7 uses the `tsc.js` entrypoint for handling the node compile cache. This fix points to the new `_tsc.js` entry point but doesn't handle anything regarding the node compile cache. This needs to be looked at in a future release.
  • Loading branch information
davidmatter authored Nov 25, 2024
1 parent cf70eda commit 160a4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tsc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as vue from '@vue/language-core';

const windowsPathReg = /\\/g;

export function run(tscPath = require.resolve('typescript/lib/tsc')) {
export function run(tscPath = require.resolve('typescript/lib/_tsc')) {

let runExtensions = ['.vue'];

Expand Down

0 comments on commit 160a4e8

Please sign in to comment.