Zipper-Inc / zipper-functions

The code for zipper.dev and zipper.run. Write and run typescript functions in your browser without having to write any auth, FE, API code.
https://zipper.dev
MIT License
6 stars 2 forks source link

Fix zipper.run tsx handlers #700

Closed miguel-nascimento closed 10 months ago

miguel-nascimento commented 10 months ago

fixes:

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zipper-run ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2024 10:12pm
miguel-nascimento commented 10 months ago

Missing: improvements in module resolution

when handler is main.ts

zipper.run/endpoint/api/main.ts -> output main.ts
zipper.run/endpoint/api/main.tsx -> output main.ts
zipper.run/endpoint/api/main -> output main.ts

zipper.dev/org/app/main.ts -> output main.ts
zipper.dev/org/app/main.tsx -> NOT_FOUND
zipper.dev/org/app/main -> NOT_FOUND