Commit baa4dc6
optimize images and fix vercel function size limit
- compress 68 images, saving 239MB total
- resize images wider than 2000px to reduce file size
- configure next.js outputFileTracingExcludes to prevent public directory from being bundled into serverless functions
- add exclusions for all routes including tags, posts, and api routes
this fixes the "max serverless function size of 250 MB exceeded" error on vercel by ensuring static assets are served via cdn instead of being packaged into function bundles.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ac7c6c0 commit baa4dc6
File tree
69 files changed
+4
-0
lines changed- public/images
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
69 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
0 commit comments