fix: 添加图片以及打包报错处理

This commit is contained in:
宝莉 2024-08-26 14:20:11 +08:00
parent 91df30be1f
commit 99e7bcd68a
11 changed files with 10779 additions and 2 deletions

2
.env
View File

@ -5,7 +5,7 @@ VITE_DEV_PORT = '8080'
# VITE_DEV_PATH = 'http://192.168.0.34:11887'
VITE_DEV_PATH = 'http://192.168.0.34:8025/'
# VITE_DEV_PATH = 'http://192.168.0.120:3001'
VITE_DEV_TOKEN = "6d3db4a4-bcf6-47f7-8764-3b95f4f9b4d3"
VITE_DEV_TOKEN = "1c476210-ddea-4f3f-bd82-832fd5df020d"
# production path
# VITE_PRO_PATH = 'http://192.168.0.235:8177'

10777
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -87,7 +87,7 @@ export default ({ mode } : { mode:any }) => defineConfig({
})
],
build: {
target: 'es2015',
target: 'es2020', // babel打包转译报错
outDir: OUTPUT_DIR,
// minify: 'terser', // 如果需要用terser混淆可打开这两行
// terserOptions: terserOptions,