Commit 273c6f0d authored by Sebastian Silbermann's avatar Sebastian Silbermann Committed by Joe Haddad

docs: Document change concerning api-routes (#8121)

* Update UPGRADING.md

* Update UPGRADING.md
parent 730f9cc4
...@@ -107,6 +107,12 @@ module.exports = { ...@@ -107,6 +107,12 @@ module.exports = {
} }
``` ```
#### `./pages/api/` is treated differently
Pages in `./pages/api/` are now considered [API Routes](https://nextjs.org/blog/next-9#api-routes).
Pages in this directory will no longer contain a client-side bundle.
## Deprecated Features ## Deprecated Features
#### `next/dynamic` has deprecated loading multiple modules at once #### `next/dynamic` has deprecated loading multiple modules at once
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment