Skip to content

Commit 866a150

Browse files
committed
Fix console issues
1 parent c00bad7 commit 866a150

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

docs/.vuepress/config.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@ import { defaultTheme } from "@vuepress/theme-default";
33
import { defineUserConfig } from "vuepress";
44

55
export default defineUserConfig({
6-
bundler: viteBundler(),
6+
bundler: viteBundler({
7+
viteOptions: {
8+
build: {
9+
rollupOptions: {
10+
output: {
11+
manualChunks: undefined,
12+
},
13+
},
14+
},
15+
},
16+
}),
717
lang: "en-US",
818
title: "Such Dev Blog",
919
description: "Much code, very webdev.",
@@ -59,6 +69,7 @@ export default defineUserConfig({
5969
"data-goatcounter": "https://suchdevblog.goatcounter.com/count",
6070
async: true,
6171
src: "https://gc.zgo.at/count.js",
72+
onerror: "this.remove()",
6273
},
6374
],
6475
],

0 commit comments

Comments
 (0)