11import { camelize , NOOP as noop } from '@vue/shared' ;
22import { posix as path } from 'path-browserify' ;
33import type * as ts from 'typescript' ;
4- import { generateGlobalTypes , getGlobalTypesFileName } from '.. /codegen/globalTypes' ;
5- import type { RawVueCompilerOptions , VueCompilerOptions , VueLanguagePlugin } from '.. /types' ;
6- import { hyphenateTag } from './shared' ;
4+ import { generateGlobalTypes , getGlobalTypesFileName } from './codegen/globalTypes' ;
5+ import type { RawVueCompilerOptions , VueCompilerOptions , VueLanguagePlugin } from './types' ;
6+ import { hyphenateTag } from './utils/ shared' ;
77
88interface ParseConfigHost extends Omit < ts . ParseConfigHost , 'readDirectory' > { }
99
@@ -107,7 +107,6 @@ export function createParsedCommandLine(
107107}
108108
109109export class CompilerOptionsResolver {
110- configRoots = new Set < string > ( ) ;
111110 options : Omit < RawVueCompilerOptions , 'target' | 'globalTypesPath' | 'plugins' > = { } ;
112111 target : number | undefined ;
113112 globalTypesPath : string | undefined ;
@@ -118,7 +117,6 @@ export class CompilerOptionsResolver {
118117 ) { }
119118
120119 addConfig ( options : RawVueCompilerOptions , rootDir : string ) {
121- this . configRoots . add ( rootDir ) ;
122120 for ( const key in options ) {
123121 switch ( key ) {
124122 case 'target' :
0 commit comments