Skip to content

Commit

Permalink
feat: fix images pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
doinkythederp committed Sep 7, 2023
1 parent a7fb870 commit a5a8ab4
Show file tree
Hide file tree
Showing 6 changed files with 1,065 additions and 911 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
},
"[xml]": {
"editor.defaultFormatter": "redhat.vscode-xml"
}
},
"github.copilot.inlineSuggest.enable": true
}
8 changes: 1 addition & 7 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import image from "@astrojs/image";
import remarkToc from "remark-toc";

// https://astro.build/config
export default defineConfig({
integrations: [
tailwind(),
image({
serviceEntryPoint: "@astrojs/image/sharp",
}),
],
integrations: [tailwind()],
site: "https://craftserver.net",
vite: {
ssr: {
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@
"gen-icons": "sh ./scripts/icons.sh"
},
"dependencies": {
"@astrojs/image": "^0.15.1",
"@astrojs/tailwind": "^3.0.1",
"@astrojs/tailwind": "^5.0.0",
"@fontsource/nunito": "^4.5.12",
"@fontsource/red-hat-text": "^4.5.12",
"@fortawesome/fontawesome-free": "^6.3.0",
"astro": "^2.0.16",
"astro": "^3.0.10",
"clsx": "^2.0.0",
"plaiceholder": "^2.5.0",
"remark-toc": "^8.0.1",
"sharp": "^0.31.3",
"sharp": "^0.32.5",
"tailwindcss": "^3.2.7"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit a5a8ab4

Please sign in to comment.