Skip to content

Commit

Permalink
Use sharp instead squoosh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexuil committed Oct 8, 2024
1 parent 4c5c28f commit a7b42cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
8 changes: 1 addition & 7 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import {
defineConfig,
squooshImageService
} from 'astro/config';
import { defineConfig } from 'astro/config';

import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";

// https://astro.build/config
export default defineConfig({
image: {
service: squooshImageService(),
},
integrations: [tailwind(), icon()]
});
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@iconify-json/simple-icons": "^1.2.5",
"astro": "4.15.11",
"astro-icon": "^1.1.1",
"sharp": "^0.33.5",
"tailwindcss": "^3.4.13"
},
"devDependencies": {
Expand Down

0 comments on commit a7b42cb

Please sign in to comment.