Skip to content

fix(tsc): point to shimmed tsc entry point to support ts 5.7 #5020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(tsc): point to shimmed tsc entry point to support ts 5.7
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
commit 160a4e8376dd5a5cc0706d0dcdd0bb069725a227
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