vercel / fun

ƒun - Local serverless function λ development runtime
Apache License 2.0
482 stars 26 forks source link

Fix handler validation for Node.js #73

Closed AndyBitz closed 2 years ago

AndyBitz commented 2 years ago

If a handler like .output/server/pages/api/___vc/__launcher.launcher is used, the current validation will fail because the path contains a dot. However, the dot is only relevant for the last part of this path.

AndyBitz commented 2 years ago

@styfle yea, will look into adding a test, not sure how those work yet.

And that's not for vc dev, it's for vercel-plugin-node tests.