Skip to content

Commit

Permalink
Optimize non-optimized code
Browse files Browse the repository at this point in the history
  • Loading branch information
deeprobin committed Aug 8, 2023
1 parent 2dcca6f commit da19055
Show file tree
Hide file tree
Showing 7 changed files with 923 additions and 583 deletions.
13 changes: 10 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import solidJs from "@astrojs/solid-js";
import prefetch from "@astrojs/prefetch";
import sitemap from "@astrojs/sitemap";
import compressor from "astro-compressor";
import compress from "@otterlord/astro-compress";
import critters from "@otterlord/astro-critters";
//import rome from "@otterlord/astro-rome";
//import webmanifest from 'astro-webmanifest'; // TODO

//import deno from '@astrojs/deno';
Expand All @@ -23,12 +26,16 @@ export default defineConfig({
en: 'en-US',
de: 'de-DE'
}
}
}), compressor(), partytown({
},
lastmod: new Date(),
changefreq: 'monthly',
}), critters(),
//rome(),
compress(), partytown({
config: {
forward: ["dataLayer.push"]
}
})],
}), compressor()],
experimental: {
//assets: true,
//viewTransitions: true
Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@astrojs/node": "^5.3.2",
"@astrojs/partytown": "^1.2.3",
"@astrojs/prefetch": "^0.2.3",
"@astrojs/rss": "^2.4.3",
"@astrojs/rss": "^2.4.4",
"@astrojs/sitemap": "^1.4.0",
"@astrojs/solid-js": "^2.2.0",
"@contentful/rich-text-html-renderer": "^16.1.1",
Expand All @@ -25,17 +25,20 @@
"@motionone/solid": "^10.16.2",
"@nanostores/persistent": "^0.9.1",
"@nanostores/solid": "^0.4.2",
"@otterlord/astro-compress": "^1.1.48",
"@otterlord/astro-critters": "^1.1.41",
"@otterlord/astro-rome": "^0.1.21",
"@swup/a11y-plugin": "^3.0.0",
"@swup/debug-plugin": "^3.0.0",
"@swup/fade-theme": "^1.0.5",
"@swup/ga-plugin": "^1.1.0",
"@swup/gtm-plugin": "^1.0.2",
"@swup/head-plugin": "^1.3.0",
"astro": "^2.10.1",
"astro": "^2.10.3",
"astro-compressor": "^0.4.0",
"astro-webmanifest": "^0.6.0",
"clarity-js": "^0.7.10",
"contentful": "^10.4.0",
"contentful": "^10.4.1",
"lucide-solid": "^0.241.0",
"nanostores": "^0.9.3",
"sass": "^1.64.2",
Expand Down
Loading

0 comments on commit da19055

Please sign in to comment.