1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Naming Of The Vercel Config File as a vercel til

This commit is contained in:
jbranchaud
2020-11-12 12:31:22 -06:00
parent 69e7dda5c7
commit a57a90c9c0
2 changed files with 19 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ and pairing with smart people at Hashrocket.
For a steady stream of TILs, [sign up for my newsletter](https://tinyletter.com/jbranchaud).
_958 TILs and counting..._
_959 TILs and counting..._
---
@@ -938,6 +938,7 @@ _958 TILs and counting..._
### Vercel
- [Add Web Server Layer Redirects](vercel/add-web-server-layer-redirects.md)
- [Naming Of The Vercel Config File](vercel/naming-of-the-vercel-config-file.md)
### Vim

View File

@@ -0,0 +1,17 @@
# Naming Of The Vercel Config File
[Vercel](https://vercel.com/), the company/service, used to be called Now. With
any renaming comes some consistency challenges, even at the level of software.
The naming of the file for configuring your project used to be `now.json`. It
is _now_ `vercel.json`.
For [backwards compatibility
reasons](https://vercel.com/docs/platform/frequently-asked-questions#conflicting-configuration-files),
you can still use either. You cannot and should not have both though.
If you're working with an existing project that uses `now.json`. It is fine to
continue with that naming. It may eliminate some future confusion if you are to
rename it to `vercel.json`. If you're starting a new project, I'd recommend
using `vercel.json`. All the documentation you'll read uses this newer naming
convention.