Back

Custom build for NodeJS functions

  • 0
  • Functions
50l3r
1 Apr, 2023, 17:28

Hi all,

Is there any option to be able to execute my "build" script when deploying a nodejs function?

I'm trying to run "tsc -p ." after installing the packages. but I am not able.

this is my package.json

TL;DR
The user is asking if there is a way to execute a "build" script when deploying a Node.js function. They mention that they have tried running "tsc -p ." after installing packages but it is not working.
Drake
1 Apr, 2023, 17:36

We're working on adding support for additional build commands. For now, I recommend running that before deploying.

50l3r
1 Apr, 2023, 18:00

Much thanks for your help @Steven AppWrite looks awesome 😍

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more