You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, running the script on an empty directory without a vercel.json or now.json, will cause node to crash:
The script also crashes if either the the file is empty or the redirects array doesn't exist.
When the file is empty
After populating the file with {}
A solution to this would be to create that file automatically or have a command for "initing" the project
$ vercel-redirects init
The text was updated successfully, but these errors were encountered:
BREAKING CHANGE: Require node >= 14.16 & ESM support
- Require Node.js 14.16 or greater
- This package is now pure ESM. Please [read this](codfi.sh/esm).
Closes#3
Currently, running the script on an empty directory without a
vercel.json
ornow.json
, will cause node to crash:The script also crashes if either the the file is empty or the
redirects
array doesn't exist.When the file is empty
After populating the file with
{}
A solution to this would be to create that file automatically or have a command for "initing" the project
The text was updated successfully, but these errors were encountered: