Skip to content

Commit 85bb938

Browse files
committedFeb 19, 2022
feat: 缩减包体
1 parent 4f85167 commit 85bb938

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
 

‎index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
66
<meta name="referrer" content="no-referrer" />
7-
<meta name="mobile-web-app-capable" content="yes">
7+
<meta name="mobile-web-app-capable" content="yes"/>
88
<meta name="apple-mobile-web-app-capable" content="yes"/>
99
<meta name="x5-fullscreen" content="true"/>
10-
<meta name="full-screen" content="yes">
11-
<link rel="icon" href="src/assets/favicon.ico" />
12-
<link rel="apple-touch-icon" href="src/assets/apple-touch-icon.png">
10+
<meta name="full-screen" content="yes"/>
11+
<link rel="icon" href="https://s4.ax1x.com/2022/02/19/HbjMX8.png" />
12+
<link rel="apple-touch-icon" href="https://s4.ax1x.com/2022/02/19/HbjZtA.png"/>
1313
<title>偶像梦幻祭2抽卡模拟器</title>
1414
<!-- Global site tag (gtag.js) - Google Analytics -->
1515
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GVEDR776YQ"></script>

‎public/normal1.png

-11.1 KB
Binary file not shown.

‎public/normal1cg.jpg

-29.4 KB
Binary file not shown.

‎src/data/scout.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -815,10 +815,10 @@
815815
"normal": [
816816
{
817817
"type": "normal",
818-
"banner": "./normal1.png",
818+
"banner": "https://s4.ax1x.com/2022/02/19/Hbv02t.png",
819819
"name": "常驻",
820820
"series": 1,
821-
"cg": "./normal1cg.jpg"
821+
"cg": "https://s4.ax1x.com/2022/02/19/HbvrKf.jpg"
822822
}
823823
]
824824
}

‎vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig(({ mode }) => ({
1010
rollupOptions: {
1111
input: {
1212
main: resolve(__dirname, 'index.html'),
13-
admin: resolve(__dirname, 'admin/index.html')
13+
// admin: resolve(__dirname, 'admin/index.html')
1414
}
1515
}
1616
},

0 commit comments

Comments
 (0)
Please sign in to comment.