@@ -5,148 +5,148 @@ import topLevelAwait from "vite-plugin-top-level-await"
5
5
import path from "path"
6
6
7
7
export default defineNuxtConfig ( {
8
- modules : [ "nuxt-simple-sitemap" , " @pinia/nuxt", "nuxt-og-image" ] ,
8
+ modules : [ "@pinia/nuxt" , "nuxt-og-image" , "@nuxtjs/sitemap "] ,
9
9
10
- site : {
11
- url : "https://celenium.io" ,
10
+ site : {
11
+ url : "https://celenium.io" ,
12
12
} ,
13
13
14
- sitemap : {
15
- xsl : false ,
14
+ sitemap : {
15
+ xsl : false ,
16
16
} ,
17
17
18
- routeRules : {
19
- "/node" : {
20
- ssr : false ,
21
- } ,
22
- "/" : {
23
- sitemap : {
24
- changefreq : "daily" ,
25
- priority : 1 ,
26
- } ,
27
- } ,
28
- "/blocks" : {
29
- sitemap : {
30
- changefreq : "daily" ,
31
- priority : 0.9 ,
32
- } ,
33
- } ,
34
- "/namespaces" : {
35
- sitemap : {
36
- changefreq : "daily" ,
37
- priority : 0.8 ,
38
- } ,
39
- } ,
40
- "/txs" : {
41
- sitemap : {
42
- changefreq : "daily" ,
43
- priority : 0.7 ,
44
- } ,
45
- } ,
46
- "/addresses" : {
47
- sitemap : {
48
- changefreq : "daily" ,
49
- priority : 0.6 ,
50
- } ,
51
- } ,
52
- "/gas" : {
53
- sitemap : {
54
- changefreq : "daily" ,
55
- priority : 0.5 ,
56
- } ,
57
- } ,
58
- "/namespaces/treemap" : {
59
- sitemap : {
60
- changefreq : "weekly" ,
61
- priority : 0.4 ,
62
- } ,
63
- } ,
18
+ routeRules : {
19
+ "/node" : {
20
+ ssr : false ,
21
+ } ,
22
+ "/" : {
23
+ sitemap : {
24
+ changefreq : "daily" ,
25
+ priority : 1 ,
26
+ } ,
27
+ } ,
28
+ "/blocks" : {
29
+ sitemap : {
30
+ changefreq : "daily" ,
31
+ priority : 0.9 ,
32
+ } ,
33
+ } ,
34
+ "/namespaces" : {
35
+ sitemap : {
36
+ changefreq : "daily" ,
37
+ priority : 0.8 ,
38
+ } ,
39
+ } ,
40
+ "/txs" : {
41
+ sitemap : {
42
+ changefreq : "daily" ,
43
+ priority : 0.7 ,
44
+ } ,
45
+ } ,
46
+ "/addresses" : {
47
+ sitemap : {
48
+ changefreq : "daily" ,
49
+ priority : 0.6 ,
50
+ } ,
51
+ } ,
52
+ "/gas" : {
53
+ sitemap : {
54
+ changefreq : "daily" ,
55
+ priority : 0.5 ,
56
+ } ,
57
+ } ,
58
+ "/namespaces/treemap" : {
59
+ sitemap : {
60
+ changefreq : "weekly" ,
61
+ priority : 0.4 ,
62
+ } ,
63
+ } ,
64
64
} ,
65
65
66
- runtimeConfig : {
67
- public : {
68
- AMP : process . env . AMP ,
69
- } ,
66
+ runtimeConfig : {
67
+ public : {
68
+ AMP : process . env . AMP ,
69
+ } ,
70
70
} ,
71
71
72
- app : {
73
- head : {
74
- htmlAttrs : {
75
- lang : "en" ,
76
- } ,
77
- meta : [
78
- { name : "viewport" , content : "width=device-width, initial-scale=1, maximum-scale=1" } ,
79
- {
80
- name : "lang" ,
81
- content : "en" ,
82
- } ,
83
- ] ,
84
- link : [
85
- {
86
- id : "favicon" ,
87
- rel : "icon" ,
88
- type : "image/png" ,
89
- } ,
90
- {
91
- rel : "preconnect" ,
92
- href : "https://fonts.googleapis.com" ,
93
- } ,
94
- {
95
- rel : "preconnect" ,
96
- href : "https://fonts.gstatic.com" ,
97
- crossorigin : "anonymous" ,
98
- } ,
99
- {
100
- rel : "preload" ,
101
- as : "style" ,
102
- href : "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" ,
103
- onload : "this.onload=null;this.rel='stylesheet'" ,
104
- } ,
105
- {
106
- rel : "preload" ,
107
- as : "style" ,
108
- href : "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@700&display=swap" ,
109
- onload : "this.onload=null;this.rel='stylesheet'" ,
110
- } ,
111
- {
112
- rel : "preload" ,
113
- as : "style" ,
114
- href : "https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap" ,
115
- onload : "this.onload=null;this.rel='stylesheet'" ,
116
- } ,
117
- ] ,
118
- } ,
72
+ app : {
73
+ head : {
74
+ htmlAttrs : {
75
+ lang : "en" ,
76
+ } ,
77
+ meta : [
78
+ { name : "viewport" , content : "width=device-width, initial-scale=1, maximum-scale=1" } ,
79
+ {
80
+ name : "lang" ,
81
+ content : "en" ,
82
+ } ,
83
+ ] ,
84
+ link : [
85
+ {
86
+ id : "favicon" ,
87
+ rel : "icon" ,
88
+ type : "image/png" ,
89
+ } ,
90
+ {
91
+ rel : "preconnect" ,
92
+ href : "https://fonts.googleapis.com" ,
93
+ } ,
94
+ {
95
+ rel : "preconnect" ,
96
+ href : "https://fonts.gstatic.com" ,
97
+ crossorigin : "anonymous" ,
98
+ } ,
99
+ {
100
+ rel : "preload" ,
101
+ as : "style" ,
102
+ href : "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" ,
103
+ onload : "this.onload=null;this.rel='stylesheet'" ,
104
+ } ,
105
+ {
106
+ rel : "preload" ,
107
+ as : "style" ,
108
+ href : "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@700&display=swap" ,
109
+ onload : "this.onload=null;this.rel='stylesheet'" ,
110
+ } ,
111
+ {
112
+ rel : "preload" ,
113
+ as : "style" ,
114
+ href : "https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap" ,
115
+ onload : "this.onload=null;this.rel='stylesheet'" ,
116
+ } ,
117
+ ] ,
118
+ } ,
119
119
} ,
120
120
121
- css : [ "@/assets/styles/base.scss" , "@/assets/styles/flex.scss" , "@/assets/styles/text.scss" ] ,
121
+ css : [ "@/assets/styles/base.scss" , "@/assets/styles/flex.scss" , "@/assets/styles/text.scss" ] ,
122
122
123
- pinia : {
124
- autoImports : [ "defineStore" ] ,
123
+ pinia : {
124
+ autoImports : [ "defineStore" ] ,
125
125
} ,
126
126
127
- ogImage : {
128
- fonts : [ "Inter:400" , "Inter:600" , "IBM+Plex+Mono:400" ] ,
127
+ ogImage : {
128
+ fonts : [ "Inter:400" , "Inter:600" , "IBM+Plex+Mono:400" ] ,
129
129
} ,
130
130
131
- devtools : {
132
- enabled : false ,
131
+ devtools : {
132
+ enabled : false ,
133
133
} ,
134
134
135
- vite : {
136
- define : {
137
- global : "globalThis" ,
138
- } ,
139
- resolve : {
140
- alias : {
141
- "unenv/runtime/node/buffer/index/" : path . resolve ( __dirname , "./node_modules/buffer/index" ) ,
142
- } ,
143
- } ,
144
- plugins : [ wasm ( ) , topLevelAwait ( ) , nodePolyfills ( ) ] ,
145
- worker : {
146
- format : "es" ,
147
- plugins : ( ) => [ wasm ( ) , topLevelAwait ( ) ] ,
148
- } ,
135
+ vite : {
136
+ define : {
137
+ global : "globalThis" ,
138
+ } ,
139
+ resolve : {
140
+ alias : {
141
+ "unenv/runtime/node/buffer/index/" : path . resolve ( __dirname , "./node_modules/buffer/index" ) ,
142
+ } ,
143
+ } ,
144
+ plugins : [ wasm ( ) , topLevelAwait ( ) , nodePolyfills ( ) ] ,
145
+ worker : {
146
+ format : "es" ,
147
+ plugins : ( ) => [ wasm ( ) , topLevelAwait ( ) ] ,
148
+ } ,
149
149
} ,
150
150
151
- compatibilityDate : "2025-04-02" ,
152
- } )
151
+ compatibilityDate : "2025-04-02" ,
152
+ } )
0 commit comments