Is it possilbe to have ts? filename in node js template function
huh?
I mean typescript file type?
like I want to convert this all js into typescript
I am using node js runtime cloud function
To run function using TypeScript, you have to select node runtime
Also you have to set the following npm install && npm build as build command
entry point -> dist/main.js
build command -> npm install && npm build
Or you can use bun, which support typescript out of the box. At the moment, only if you're self hosting your appwrite instance, cloud haven't bun available yet
I tried bun but so hassle in windows platform
but for cloud function you won't have problem π€ You can have linux subsystem in windows 10 and 11, if you want run bun for developing
[SOLVED] creating a cloud function using node js support typescript?
Recommended threads
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...