Stop importing gitignored sample images so production build can succeed.

Deploy checkouts do a hard reset, so Unsplash files ignored locally are missing on the server and next build fails with Module not found.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-25 17:38:50 +03:30
co-authored by Cursor
parent 16340c3b48
commit 46e4835360
2 changed files with 23 additions and 27 deletions
+3 -1
View File
@@ -20,7 +20,9 @@
# production
/build
# sample images
# Local Unsplash samples — never import these in app code.
# Production deploy does a hard git reset, so gitignored files disappear
# and `next build` fails with Module not found. Use public/images/placeholders/.
/src/assets/images/samples/
# misc