Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use api/ folder (supported in Now v2) and Badgen lib #6

Open
tunnckoCore opened this issue Oct 23, 2019 · 0 comments
Open

Use api/ folder (supported in Now v2) and Badgen lib #6

tunnckoCore opened this issue Oct 23, 2019 · 0 comments

Comments

@tunnckoCore
Copy link

You can move the index to api/index.ts and the Now Platform automatically will use it as lambda. Also, no need for building/bundling as the platform supports TS by default.

As for the badge generation, just use the amazing badgen. Not the service badgen.net but the package which is used behind the scenes there.

All this will drastically simplify the codebase and stability.

@tunnckoCore tunnckoCore changed the title Use api/ and Badgen lib Use api/ folder (supported in Now v2) and Badgen lib Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant