File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,17 @@ export default defineConfig({
1919 plugins : [ externalizeDepsPlugin ( ) ]
2020 } ,
2121 renderer : {
22+ build : {
23+ target : 'esnext'
24+ } ,
2225 define : {
2326 __APP_VERSION__ : JSON . stringify ( process . env . npm_package_version )
2427 } ,
28+ optimizeDeps : {
29+ esbuildOptions : {
30+ target : 'esnext'
31+ }
32+ } ,
2533 plugins : [
2634 vue ( ) ,
2735 Components ( {
Original file line number Diff line number Diff line change @@ -6,9 +6,17 @@ import { defineConfig } from 'vite'
66
77export default defineConfig ( {
88 base : './' ,
9+ build : {
10+ target : 'esnext'
11+ } ,
912 define : {
1013 __APP_VERSION__ : JSON . stringify ( process . env . npm_package_version )
1114 } ,
15+ optimizeDeps : {
16+ esbuildOptions : {
17+ target : 'esnext'
18+ }
19+ } ,
1220 plugins : [
1321 vue ( ) ,
1422 Components ( {
You can’t perform that action at this time.
0 commit comments