Skip to content

Commit

Permalink
fix(image): use sharp for processing images
Browse files Browse the repository at this point in the history
  • Loading branch information
obviyus committed Feb 26, 2023
1 parent 7bb6eff commit f688bd7
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 10 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
integrations: [
tailwind(),
image({
// serviceEntryPoint: '@astrojs/image/sharp',
serviceEntryPoint: '@astrojs/image/sharp',
}),
critters(),
purgecss(),
Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@
"@astrojs/prefetch": "^0.1.2",
"@astrojs/react": "^2.0.2",
"@astrojs/tailwind": "^3.0.1",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"astro": "2.0.15",
Expand All @@ -34,6 +29,7 @@
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-masonry-css": "^1.0.16",
"sharp": "^0.31.3",
"tailwindcss": "^3.2.7"
},
"repository": "[email protected]:obviyus/musee.git",
Expand Down
Loading

0 comments on commit f688bd7

Please sign in to comment.