You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring compilerOptions with the latest version 16.2.0 does not work for sfc with script setup, as the function resolveScript does not yet pass compilerOptions to compileScript.
Passing compilerOptions to compileScript's templateOptions so that resolved code of sfc with script setup honors the compilerOptions provided in vue-loader configuration.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
Configuring
compilerOptions
with the latest version16.2.0
does not work for sfc withscript setup
, as the functionresolveScript
does not yet passcompilerOptions
tocompileScript
.vue-loader/src/resolveScript.ts
Lines 56 to 66 in 65c9110
What does the proposed API look like?
Passing
compilerOptions
tocompileScript
'stemplateOptions
so that resolved code of sfc withscript setup
honors the compilerOptions provided invue-loader
configuration.The text was updated successfully, but these errors were encountered: