Commit 8837e18
Changed files (1)
src
plugins
src/plugins/rehype-extract-image.ts
@@ -1,8 +1,8 @@
import type { RehypePlugin } from "@astrojs/markdown-remark";
import { visit } from "unist-util-visit";
-import { getBase64ImageInfo } from "../utils/image.js";
-import { extractImage } from "@/integrations/extract-image.js";
import { SITE_CONFIG } from "@/config.js";
+import { extractImage } from "@/integrations/extract-image.js";
+import { getBase64ImageInfo } from "../utils/image.js";
export const rehypeExtractImage: RehypePlugin = () => (tree) => {
visit(tree, "element", (node) => {