@@ -65,7 +65,8 @@ const site = lume(
6565 anchor ,
6666 {
6767 permalink : anchor . permalink . linkInsideHeader ( {
68- symbol : `<span class="sr-only">Jump to heading</span><span aria-hidden="true" class="anchor-end">#</span>` ,
68+ symbol :
69+ `<span class="sr-only">Jump to heading</span><span aria-hidden="true" class="anchor-end">#</span>` ,
6970 placement : "after" ,
7071 } ) ,
7172 getTokensText ( tokens : { type : string ; content : string } [ ] ) {
@@ -91,7 +92,7 @@ const site = lume(
9192 } ,
9293 } ,
9394 } ,
94- }
95+ } ,
9596) ;
9697
9798// ignore some folders that have their own build tasks
@@ -123,7 +124,7 @@ site.copy(".env");
123124site . use (
124125 redirects ( {
125126 output : toFileAndInMemory ,
126- } )
127+ } ) ,
127128) ;
128129
129130site . use ( search ( ) ) ;
@@ -133,7 +134,7 @@ site.use(mdx());
133134site . use (
134135 postcss ( {
135136 plugins : [ tw ( tailwindConfig ) ] ,
136- } )
137+ } ) ,
137138) ;
138139
139140site . use (
@@ -143,7 +144,7 @@ site.use(
143144 minify : false ,
144145 splitting : true ,
145146 } ,
146- } )
147+ } ) ,
147148) ;
148149
149150site . use ( toc ( { anchor : false } ) ) ;
@@ -201,7 +202,7 @@ site.ignore(
201202 ( path ) => path . match ( / \/ r e f e r e n c e _ g e n .* .t s / ) !== null ,
202203 ( path ) => path . includes ( "/reference_gen/node_modules" ) ,
203204 ( path ) => path . includes ( "/reference_gen/node_descriptions" ) ,
204- ( path ) => path . includes ( "/lint/rules/" )
205+ ( path ) => path . includes ( "/lint/rules/" ) ,
205206 // "deploy",
206207 // "runtime",
207208 // "subhosting",
@@ -228,41 +229,41 @@ if (Deno.env.get("BUILD_TYPE") == "FULL") {
228229 name : "Courier" ,
229230 style : "normal" ,
230231 data : await Deno . readFile (
231- "./static/fonts/courier/CourierPrime-Regular.ttf"
232+ "./static/fonts/courier/CourierPrime-Regular.ttf" ,
232233 ) ,
233234 } ,
234235 {
235236 name : "Inter" ,
236237 weight : 400 ,
237238 style : "normal" ,
238239 data : await Deno . readFile (
239- "./static/fonts/inter/hacked/Inter-Regular-hacked.woff"
240+ "./static/fonts/inter/hacked/Inter-Regular-hacked.woff" ,
240241 ) ,
241242 } ,
242243 {
243244 name : "Inter" ,
244245 weight : 700 ,
245246 style : "normal" ,
246247 data : await Deno . readFile (
247- "./static/fonts/inter/hacked/Inter-SemiBold-hacked.woff"
248+ "./static/fonts/inter/hacked/Inter-SemiBold-hacked.woff" ,
248249 ) ,
249250 } ,
250251 ] ,
251252 } ,
252253 cache : false ,
253- } )
254+ } ) ,
254255 ) ;
255256}
256257
257258site . scopedUpdates (
258259 ( path ) => path == "/overrides.css" ,
259260 ( path ) => / \. ( j s | t s ) $ / . test ( path ) ,
260- ( path ) => path . startsWith ( "/api/deno/" )
261+ ( path ) => path . startsWith ( "/api/deno/" ) ,
261262) ;
262263
263264site . addEventListener ( "afterStartServer" , ( ) => {
264265 log . warn (
265- `${ cliNow ( ) } Server available at <green>http://localhost:3000</green>`
266+ `${ cliNow ( ) } Server available at <green>http://localhost:3000</green>` ,
266267 ) ;
267268} ) ;
268269
0 commit comments