Skip to content

Commit

Permalink
Add astro-icon package
Browse files Browse the repository at this point in the history
  • Loading branch information
Southpaw1496 committed Aug 11, 2024
1 parent 826f247 commit a3227b2
Show file tree
Hide file tree
Showing 3 changed files with 439 additions and 6 deletions.
4 changes: 3 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import sitemap from "@astrojs/sitemap";
import purgecss from "astro-purgecss";
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
import { fromHtml } from 'hast-util-from-html';
import icon from "astro-icon"

import compress from "astro-compress";
import searchIndex from "./src/integration/search-index";
Expand All @@ -18,7 +19,8 @@ export default defineConfig({
sitemap(),
purgecss({ safelist: ["has-background-info", "has-background-link"] }),
compress({ SVG: false, }),
searchIndex()
searchIndex(),
icon()
],
markdown: {
syntaxHighlight: "prism",
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,15 @@
"@babel/traverse": "^7.25.3",
"@tsndr/cloudflare-worker-jwt": "^2.5.3",
"astro-compress": "^2.3.1",
"astro-icon": "^1.1.0",
"semver-sort": "^1.0.0",
"xml-js": "^1.6.11"
},
"pnpm": {
"overrides": {
"@iconify/tools": "^4.0.0"
}
},
"engines": {
"node": ">=20"
}
Expand Down
Loading

0 comments on commit a3227b2

Please sign in to comment.