Skip to content

Language tools breaking changes #4383

Answered by johnsoncodehk
JoviDeCroock asked this question in Q&A
Discussion options

You must be logged in to vote

After a quick look, I figured this was the missing piece:

languageId === 'html'
? [petiteVueSfcPlugin, ...basePlugins]
: languageId === 'markdown'
? [vitePressSfcPlugin, ...basePlugins]
: [vueSfcPlugin, ...basePlugins],

getBasePlugins is not a use case intended for external use, you may want to use createVueLanguagePlugin instead.

const projectHost: TypeScriptProjectHost = {
	...ts.sys,
	configFileName: realTsConfig,
	getCurrentDirectory: () => rootPath,
	getProjectVersion: () => '0',
	getScriptFileNames: () => parsedCommandLine.fileNames,
	getCompilationSettings: () 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JoviDeCroock
Comment options

Answer selected by JoviDeCroock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants