Skip to content

Commit 135a44a

Browse files
committed
chore: reduce oxc not supported warnings
1 parent d437a93 commit 135a44a

File tree

1 file changed

+1
-0
lines changed
  • packages/vite/src/node/plugins

1 file changed

+1
-0
lines changed

packages/vite/src/node/plugins/oxc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ export function convertEsbuildConfigToOxcConfig(
308308
switch (esbuildTransformOptions.sourcemap) {
309309
case true:
310310
case false:
311+
case undefined:
311312
oxcOptions.sourcemap = esbuildTransformOptions.sourcemap
312313
break
313314
case 'external':

0 commit comments

Comments
 (0)