Skip to content

Commit

Permalink
chore: add astr-compress
Browse files Browse the repository at this point in the history
  • Loading branch information
dcschmid committed Nov 4, 2024
1 parent acec9ec commit 59f6c8a
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 18 deletions.
11 changes: 9 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ import node from "@astrojs/node";

import compressor from "astro-compressor";

import playformCompress from "@playform/compress";

// https://astro.build/config
export default defineConfig({
site: "https://melody-mind.de",
output: "server",
integrations: [icon(), db(), compressor()],
integrations: [
icon(),
db(),
compressor(),
playformCompress(),
],
adapter: node({
mode: "standalone",
}),
Expand All @@ -26,4 +33,4 @@ export default defineConfig({
dest: "src/pages/api/health.ts",
},
],
});
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@astrojs/node": "^8.3.4",
"@astropub/flow": "^0.4.0",
"@fontsource/source-sans-pro": "^5.1.0",
"@playform/compress": "^0.1.6",
"arctic": "^1.9.2",
"astro": "^4.16.8",
"astro-compressor": "^0.4.1",
Expand Down
Loading

0 comments on commit 59f6c8a

Please sign in to comment.