From 958bd6cabb85a52269927661f759ac9197775149 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Fri, 5 Feb 2021 21:00:03 -0600 Subject: [PATCH] Update server output path in static optimization docs (#21910) --- docs/advanced-features/automatic-static-optimization.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced-features/automatic-static-optimization.md b/docs/advanced-features/automatic-static-optimization.md index b4b4dadd1ec0c..17a3ea787c3b9 100644 --- a/docs/advanced-features/automatic-static-optimization.md +++ b/docs/advanced-features/automatic-static-optimization.md @@ -25,13 +25,13 @@ During prerendering, the router's `query` object will be empty since we do not h `next build` will emit `.html` files for statically optimized pages. For example, the result for the page `pages/about.js` would be: ```bash -.next/server/static/${BUILD_ID}/about.html +.next/server/pages/about.html ``` And if you add `getServerSideProps` to the page, it will then be JavaScript, like so: ```bash -.next/server/static/${BUILD_ID}/about.js +.next/server/pages/about.js ``` ## Caveats