@@ -23,37 +23,10 @@ export default withMermaid({
2323 head : [
2424 [ "link" , { rel : "icon" , href : "/img/favicon.svg" , type : "image/svg+xml" } ] ,
2525 [ "link" , { rel : "icon" , href : "/img/favicon.png" , type : "image/png" } ] ,
26- // [
27- // 'link',
28- // {
29- // rel: 'icon',
30- // type: 'image/svg+xml',
31- // href: '/img/favicon-dark.svg',
32- // media: '(prefers-color-scheme: dark)',
33- // },
34- // ],
35- // [
36- // 'link',
37- // {
38- // rel: 'icon',
39- // type: 'image/png',
40- // href: '/img/favicon-dark.png',
41- // media: '(prefers-color-scheme: dark)',
42- // },
43- // ],
4426 [
4527 "link" ,
4628 { rel : "shortcut icon" , href : "/favicon.ico" , type : "image/x-icon" } ,
4729 ] ,
48- // [
49- // 'link',
50- // {
51- // rel: 'icon',
52- // type: 'image/x-icon',
53- // href: '/img/favicon-dark.ico',
54- // media: '(prefers-color-scheme: dark)',
55- // },
56- // ],
5730 [ "meta" , { name : "msapplication-TileColor" , content : "#fff" } ] ,
5831 [ "meta" , { name : "theme-color" , content : "#fff" } ] ,
5932 [
@@ -78,23 +51,6 @@ export default withMermaid({
7851 [ "meta" , { name : "twitter:url" , content : "https://evolve.dev" } ] ,
7952 [ "meta" , { name : "og:image" , content : "/img/Evolve-cover.jpg" } ] ,
8053 [ "meta" , { name : "apple-mobile-web-app-title" , content : "Evolve" } ] ,
81- // [
82- // "script",
83- // {},
84- // `
85- // window.chatbaseConfig = {
86- // chatbotId: "sw0sRxREFEQLTdqwC_Fbe",
87- // }
88- // `,
89- // ],
90- // [
91- // "script",
92- // {
93- // src: "https://www.chatbase.co/embed.min.js",
94- // id: "sw0sRxREFEQLTdqwC_Fbe",
95- // defer: true,
96- // },
97- // ],
9854 [
9955 "script" ,
10056 {
@@ -103,14 +59,45 @@ export default withMermaid({
10359 defer : true ,
10460 } ,
10561 ] ,
106- [
107- "script" ,
108- {
109- src : "https://platform.twitter.com/widgets.js" ,
110- async : true ,
111- } ,
112- ] ,
11362 ] ,
63+
64+ // // Build optimizations
65+ // vite: {
66+ // build: {
67+ // rollupOptions: {
68+ // output: {
69+ // manualChunks: (id) => {
70+ // // Extract vendor chunks
71+ // if (id.includes('node_modules')) {
72+ // if (id.includes('vue') || id.includes('@vue')) {
73+ // return 'vue';
74+ // }
75+ // if (id.includes('mermaid')) {
76+ // return 'mermaid';
77+ // }
78+ // return 'vendor';
79+ // }
80+ // },
81+ // },
82+ // },
83+ // // Enable minification
84+ // minify: 'terser',
85+ // terserOptions: {
86+ // compress: {
87+ // drop_console: true,
88+ // drop_debugger: true,
89+ // },
90+ // },
91+ // // Optimize chunk size
92+ // chunkSizeWarningLimit: 1000,
93+ // },
94+ // // Optimize dependencies
95+ // optimizeDeps: {
96+ // include: ['vue', '@vue/runtime-core', '@vue/runtime-dom', '@vue/shared'],
97+ // exclude: ['vitepress'],
98+ // },
99+ // },
100+
114101 themeConfig : {
115102 // https://vitepress.dev/reference/default-theme-config
116103 nav : nav ( ) ,
0 commit comments