Skip to content

Commit

Permalink
Merge pull request #185 from sushichan044/fix/20250123
Browse files Browse the repository at this point in the history
軽微な修正
  • Loading branch information
sushichan044 authored Jan 22, 2025
2 parents 53721eb + 627d0cf commit acf7f95
Show file tree
Hide file tree
Showing 8 changed files with 144 additions and 285 deletions.
8 changes: 8 additions & 0 deletions packages/sushichan.live/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ import rehypeKatex from "rehype-katex";
import rehypeUnwrapImages from "rehype-unwrap-images";
import remarkEmoji from "remark-emoji";
import remarkMath from "remark-math";
import nodeExternals from "rollup-plugin-node-externals";
import Icons from "unplugin-icons/vite";

import { SITE_URL } from "./src/consts";
import { remarkReadingTime } from "./src/lib/remarkReadingTime.js";

// Cloudflare adapter: Enable when doing SSR
// import cloudflare from "@astrojs/cloudflare";

const mdxIntegrations = [
AutoImport({
imports: [
Expand All @@ -36,6 +40,7 @@ const mdxIntegrations = [

// https://astro.build/config
export default defineConfig({
// adapter: cloudflare({ platformProxy: { enabled: true } }),
env: {
schema: {
CLOUDINARY_API_SECRET: envField.string({
Expand Down Expand Up @@ -120,6 +125,9 @@ export default defineConfig({
exclude: ["@resvg/resvg-js"],
},
plugins: [
// Make sure to place nodeExternals first
nodeExternals({ deps: false, include: ["@resvg/resvg-js"] }),
// Then place other plugins below
Icons({
compiler: "astro",
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/sushichan.live/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"astro-embed": "0.9.0",
"astro-expressive-code": "0.38.3",
"astro-seo": "0.8.4",
"cloudinary": "2.5.1",
"clsx": "2.1.1",
"framer-motion": "11.15.0",
"katex": "0.16.18",
Expand Down Expand Up @@ -92,6 +91,7 @@
"postcss-html": "1.7.0",
"prettier": "3.4.2",
"prettier-plugin-astro": "0.14.1",
"rollup-plugin-node-externals": "8.0.0",
"sass": "1.83.0",
"stylelint": "16.12.0",
"stylelint-config-html": "1.1.0",
Expand Down
79 changes: 0 additions & 79 deletions packages/sushichan.live/src/lib/cloudinary/client.ts

This file was deleted.

24 changes: 0 additions & 24 deletions packages/sushichan.live/src/lib/cloudinary/extract.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/sushichan.live/src/lib/cloudinary/index.ts

This file was deleted.

52 changes: 0 additions & 52 deletions packages/sushichan.live/src/lib/cloudinary/loader.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/sushichan.live/src/lib/cloudinary/size.ts

This file was deleted.

Loading

0 comments on commit acf7f95

Please sign in to comment.