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
- 1.9.1 update
do you guys, have new update workflow? migration asking me to run browser..... on VPS.
- Using Binary Log with Appwrite
If I can remember correctly appwrite uses mariaDB as the underlying database. If so could I use mariaDB’s binary log to see database operations from appwrite?
- Issue with OAuth 2.0 authentication
Good evening, I’m reaching out because I’m having a small issue with Appwrite. I’m trying to set up OAuth2 with Twitch, and even though I’m entering the correc...