Skip to content

Commit 236235a

Browse files
committed
format
1 parent 2968d05 commit 236235a

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

image-converter.config.mjs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
export default {
2-
dir: "public", // Directory to scan for images
3-
converted: "*.{png,jpg,jpeg}", // Glob pattern for source image files to convert
4-
format: "avif", // Output image format: 'webp' or 'avif'
5-
quality: 80, // Quality of output images (0–100)
6-
recursive: true, // Whether to search subdirectories recursively
7-
removeOriginal: true, // Delete original files after successful conversion
8-
ignoreOnStart: false, // If true, ignore existing files on watcher startup
9-
};
2+
dir: "public", // Directory to scan for images
3+
converted: "*.{png,jpg,jpeg}", // Glob pattern for source image files to convert
4+
format: "avif", // Output image format: 'webp' or 'avif'
5+
quality: 80, // Quality of output images (0–100)
6+
recursive: true, // Whether to search subdirectories recursively
7+
removeOriginal: true, // Delete original files after successful conversion
8+
ignoreOnStart: false, // If true, ignore existing files on watcher startup
9+
};

markdown-pages/blog/archived/generalize-uncurry.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ Now those limitations are all gone, you can have polymorphic uncurried recursive
7676
className="my-4 mx-auto max-h-[500px]"
7777
/>
7878

79-
<img src="/blog/archive/recursive.avif" className="my-4 mx-auto max-h-[500px]" />
79+
<img
80+
src="/blog/archive/recursive.avif"
81+
className="my-4 mx-auto max-h-[500px]"
82+
/>
8083

8184
The error message is also enhanced significantly
8285

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@
9595
"vite-plugin-env-compatible": "^2.0.1",
9696
"vite-plugin-page-reload": "^0.2.2"
9797
}
98-
}
98+
}

0 commit comments

Comments
 (0)