File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ export async function defineConfig(
129
129
}
130
130
}
131
131
132
+ const typescriptOptions = resolveSubOptions ( options , 'typescript' )
133
+ const tsconfigPath = 'tsconfigPath' in typescriptOptions ? typescriptOptions . tsconfigPath : undefined
134
+
132
135
// Base configs
133
136
configs . push (
134
137
ignores ( ) ,
@@ -157,7 +160,7 @@ export async function defineConfig(
157
160
if ( enableTypeScript ) {
158
161
configs . push (
159
162
typescript ( {
160
- ...resolveSubOptions ( options , 'typescript' ) ,
163
+ ...typescriptOptions ,
161
164
componentExts,
162
165
overrides : getOverrides ( options , 'typescript' ) ,
163
166
} ) ,
@@ -200,7 +203,7 @@ export async function defineConfig(
200
203
configs . push (
201
204
react ( {
202
205
overrides : getOverrides ( options , 'react' ) ,
203
- tsconfigPath : ( getOverrides ( options , 'typescript' ) as any ) . tsconfigPath ,
206
+ tsconfigPath,
204
207
} ) ,
205
208
)
206
209
}
You can’t perform that action at this time.
0 commit comments