@@ -7,23 +7,24 @@ export default defineConfig({
77 description : 'Technical Documentation about *.geo.admin.ch' ,
88 /*
99 Prepend a base path such that links still work when the page is built for the
10- preview in a PR (" test link" in the PR description).
10+ preview in a PR (' test link' in the PR description).
1111
12- For example, VITE_BASE_URL would be set to " /preview/feat-pb-1234-my-branch/"
12+ For example, VITE_BASE_URL would be set to ' /preview/feat-pb-1234-my-branch/'
1313 for a link like this:
1414
1515 https://sys-docs.dev.bgdi.ch/preview/feat-pb-1234-my-branch/index.html
1616 */
17- base : process . env . VITE_BASE_URL || "/" ,
18- head : [
19- [ "link" , { rel : "icon" , href : "/favicon.ico" } ] ,
20- [ "meta" , { name : "robots" , content : "noindex" } ] ,
21- ] ,
22- ignoreDeadLinks : "localhostLinks" ,
23- vite : {
24- build : {
25- // We add this to avoid the warning "(!) Some chunks are larger than 500 kB after minification."
26- chunkSizeWarningLimit : 1000 ,
17+ base : process . env . VITE_BASE_URL || '/' ,
18+ head : [
19+ [ 'link' , { rel : 'icon' , href : '/favicon.ico' } ] ,
20+ [ 'meta' , { name : 'robots' , content : 'noindex' } ] ,
21+ ] ,
22+ ignoreDeadLinks : 'localhostLinks' ,
23+ vite : {
24+ build : {
25+ // We add this to avoid the warning '(!) Some chunks are larger than 500 kB after minification.'
26+ chunkSizeWarningLimit : 1000 ,
27+ } ,
2728 } ,
2829 themeConfig : {
2930 // https://vitepress.dev/reference/default-theme-config
0 commit comments