add sitemap and sourcemaps

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-12-05 17:21:21 +01:00
parent 198d519fc9
commit cf8b42db99
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 7 additions and 1 deletions

View file

@ -5,6 +5,9 @@ import inline from "lume/plugins/inline.ts";
import jsx_preact from "lume/plugins/jsx_preact.ts";
import lightningcss from "lume/plugins/lightningcss.ts";
import sass from "lume/plugins/sass.ts";
import sitemap from "lume/plugins/sitemap.ts";
import sourceMaps from "lume/plugins/source_maps.ts";
const site = lume({
src: "./src",
@ -12,11 +15,13 @@ const site = lume({
});
site
.use(sitemap())
.use(jsx_preact())
.use(imagick())
.use(sass())
.use(lightningcss())
.use(inline())
.use(minifyHTML());
.use(minifyHTML())
.use(sourceMaps());
export default site;

View file

@ -1195,6 +1195,7 @@
"https://deno.land/x/lume@v1.13.2/plugins/paginate.ts": "0fefcbb290088bfa8770b84af3cd092a5fd9e8abd0adb426eb74be0927abc0da",
"https://deno.land/x/lume@v1.13.2/plugins/sass.ts": "d7e40da060950c6c6a9a1f3adeca3ef7a634927a07033a2f9ebcfe8b4f6195c1",
"https://deno.land/x/lume@v1.13.2/plugins/search.ts": "63b29bf31dfdb4cb9146b5e82c5d86190507842f5da0b85be9ed310c15752076",
"https://deno.land/x/lume@v1.13.2/plugins/sitemap.ts": "2e0cfc77cda8106f796ff93c7671fb7e679ed9a6917006de23dfcd5a32a25a4e",
"https://deno.land/x/lume@v1.13.2/plugins/source_maps.ts": "c33d46c87bd5afbb8744f1ebe14a398cf6ccba97a09584696b3d05b387d2fe31",
"https://deno.land/x/lume@v1.13.2/plugins/url.ts": "43d3d47896a7322a8dd34572dedb4baa6f73a382594a2ff7c34a3a064dcc6c9e",
"https://deno.land/x/lume@v1.13.2/plugins/yaml.ts": "df24aac4098dba258f1ac331a3b16ba488a336eb63c51afed8f59201228d583c",