Skip to content

Commit

Permalink
Remove unused deps, refine config.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Sep 4, 2024
1 parent 3526b99 commit a074dd6
Show file tree
Hide file tree
Showing 6 changed files with 713 additions and 435 deletions.
11 changes: 5 additions & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ import { resolve } from "node:path";
import starlight from "@astrojs/starlight";
import tailwind from "@astrojs/tailwind";
import { shield } from "@kindspells/astro-shield";
import { defineConfig, squooshImageService } from "astro/config";
import { defineConfig } from "astro/config";
import blog from "starlight-blog";

const rootDir = new URL(".", import.meta.url).pathname;
const modulePath = resolve(rootDir, "src", "generated", "sriHashes.mjs");

// https://astro.build/config
export default defineConfig({
site: "https://www.waterfox.net",
image: {
service: squooshImageService(),
},
integrations: [
shield({
sri: { hashesModule: modulePath },
sri: {
enableMiddleware: true,
hashesModule: modulePath,
},
}),
starlight({
components: {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/lodash": "^4.17.7",
"wrangler": "^3.74.0"
}
}
Loading

0 comments on commit a074dd6

Please sign in to comment.