Skip to content

Commit 5c15818

Browse files
committed
rebase with master branch
1 parent 217c0ac commit 5c15818

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.vitepress/config.mts

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)