thgh / vercel-sapper

Vercel builder for Sapper with SSR enabled
MIT License
191 stars 25 forks source link

Add support for Sapper with Typescript #50

Closed mcmxcdev closed 4 years ago

mcmxcdev commented 4 years ago

Currently, vercel-sapper is throwing a warning because it is looking for src/server.js but the file is actually server.ts when using typescript.

Not sure if there would be additional issues to run into, it is my first try setting Sapper up with Vercel.

thgh commented 4 years ago

Interesting! Would you like to add support for server.ts? It starts here: https://github.com/thgh/vercel-sapper/blob/vercel/bin.js#L53

mcmxcdev commented 4 years ago

Sure I can take a look at it ;)