refactor: 生产环境url、public图片、es2022
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
VITE_BASE=/
|
||||
|
||||
# 请求路径
|
||||
VITE_BASE_URL=http://127.0.0.1:48080
|
||||
VITE_BASE_URL=http://192.168.9.50:48080
|
||||
# 接口地址
|
||||
VITE_GLOB_API_URL=http://127.0.0.1:48080/admin-api
|
||||
VITE_GLOB_API_URL=http://192.168.9.50:48080/admin-api
|
||||
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
|
||||
VITE_UPLOAD_TYPE=server
|
||||
|
||||
|
||||
BIN
apps/web-antd/public/wx-xingyu.png
Normal file
BIN
apps/web-antd/public/wx-xingyu.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
@@ -65,7 +65,7 @@ function defineApplicationConfig(userConfigPromise?: DefineApplicationOptions) {
|
||||
entryFileNames: 'jse/index-[name]-[hash].js',
|
||||
},
|
||||
},
|
||||
target: 'es2015',
|
||||
target: 'es2022',
|
||||
},
|
||||
css: createCssOptions(injectGlobalScss),
|
||||
esbuild: {
|
||||
|
||||
Reference in New Issue
Block a user