Skip to content

Commit

Permalink
Add more compression
Browse files Browse the repository at this point in the history
  • Loading branch information
morr0ne committed May 14, 2024
1 parent c308170 commit d7e371f
Show file tree
Hide file tree
Showing 3 changed files with 533 additions and 26 deletions.
9 changes: 5 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';

import sitemap from '@astrojs/sitemap';

import playformCompress from "@playform/compress";

// https://astro.build/config
export default defineConfig({
site: 'https://blog.morrone.dev',
integrations: [mdx(), sitemap()],
});
site: 'https://blog.morrone.dev',
integrations: [mdx(), sitemap(), playformCompress()]
});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.6.0",
"@astrojs/mdx": "^3.0.0",
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.1.4",
"@playform/compress": "^0.0.4",
"astro": "^4.8.3",
"@astrojs/check": "^0.6.0",
"typescript": "^5.4.5"
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit d7e371f

Please sign in to comment.