From 799f759ba1caac965dc6abff5ecd84bd7f831dac Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 6 Jan 2021 16:00:55 +0100 Subject: [PATCH] Update static file serving doc to mention Next.js 10 Fixes #20403 --- docs/basic-features/static-file-serving.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/basic-features/static-file-serving.md b/docs/basic-features/static-file-serving.md index 745dbdc4b978e..713070969e185 100644 --- a/docs/basic-features/static-file-serving.md +++ b/docs/basic-features/static-file-serving.md @@ -18,6 +18,8 @@ function Avatar() { export default Avatar ``` +> Note: `next/image` requires Next.js 10 or later. + This folder is also useful for `robots.txt`, `favicon.ico`, Google Site Verification, and any other static files (including `.html`)! > **Note**: Don't name the `public` directory anything else. The name cannot be changed and is the only directory used to serve static assets.