We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
onlyRemoveTypeImports: false
1 parent b165069 commit 84b75a3Copy full SHA for 84b75a3
packages/vite/src/node/plugins/oxc.ts
@@ -158,7 +158,12 @@ export async function transformWithOxc(
158
`preserveValueImports=${preserveValueImports} + importsNotUsedAsValues=${importsNotUsedAsValues} is not supported by oxc.` +
159
'Please migrate to the new verbatimModuleSyntax option.',
160
)
161
+ resolvedOptions.typescript ??= {}
162
+ resolvedOptions.typescript.onlyRemoveTypeImports = false
163
}
164
+ } else {
165
166
167
168
169
const resolvedTsconfigTarget = resolveTsconfigTarget(
0 commit comments