fix(vite): do not set default target (#18454)
This commit is contained in:
parent
ccad52e93c
commit
bf5111c342
@ -157,7 +157,7 @@ export function getViteBuildOptions(
|
||||
emptyOutDir: options.emptyOutDir,
|
||||
reportCompressedSize: true,
|
||||
cssCodeSplit: options.cssCodeSplit,
|
||||
target: options.target ?? 'esnext',
|
||||
target: options.target,
|
||||
commonjsOptions: {
|
||||
transformMixedEsModules: true,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user