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:
co-authored by
Cursor
parent
16340c3b48
commit
46e4835360
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user