At the build step, it reads redirects.yml and generate a Vercel serverless function file api/redirect.js which contains parsed configuration. Template literal is for api/redirect.js generation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Genius!
I took a look at the package used in it, I got a little lost when I saw template literals of code modules
Do you think you could detail how the package works or would that be too much?
It looks like a fair bit of work went into it
At the build step, it reads
redirects.yml
and generate a Vercel serverless function fileapi/redirect.js
which contains parsed configuration. Template literal is forapi/redirect.js
generation.