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,
|
emptyOutDir: options.emptyOutDir,
|
||||||
reportCompressedSize: true,
|
reportCompressedSize: true,
|
||||||
cssCodeSplit: options.cssCodeSplit,
|
cssCodeSplit: options.cssCodeSplit,
|
||||||
target: options.target ?? 'esnext',
|
target: options.target,
|
||||||
commonjsOptions: {
|
commonjsOptions: {
|
||||||
transformMixedEsModules: true,
|
transformMixedEsModules: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user