alpha
Login
or
Join now
sxzz.dev
/
kevins-journey
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/sxzz/kevins-journey. Kevin's travel footprints visualized on a map.
journey.sxzz.moe
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
feat: add code splitting options
author
Kevin Deng
date
5 months ago
(Feb 9, 2026, 2:06 AM +0800)
commit
ab18b94e
ab18b94e98d25bbd7f4418c323b74afd3d7ca62e
parent
ea32afae
ea32afaebfd25435be43eac2a75cc691cd6ad1b8
+13
1 changed file
Expand all
Collapse all
Unified
Split
vite.config.ts
+13
vite.config.ts
View file
Reviewed
···
5
5
6
6
export default defineConfig({
7
7
plugins: [Vue(), UnoCSS(), Yaml()],
8
8
+
build: {
9
9
+
minify: false,
10
10
+
rolldownOptions: {
11
11
+
output: {
12
12
+
codeSplitting: {
13
13
+
groups: [
14
14
+
{ name: 'mapbox', test: /mapbox/ },
15
15
+
{ name: 'vendor', test: /node_modules/ },
16
16
+
],
17
17
+
},
18
18
+
},
19
19
+
},
20
20
+
},
8
21
})