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

* Update UPGRADING.md

* Update UPGRADING.md
This commit is contained in:
Sebastian Silbermann 2019-07-29 17:12:30 +02:00 committed by Joe Haddad
parent 730f9cc472
commit 273c6f0d66

View file

@ -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
#### `next/dynamic` has deprecated loading multiple modules at once