I'm hosting Parse Server open source project. I have all my cloud function in cloud/main.js
. This file is getting a bit too big. How can I have multiple cloud files ?
You can export the other files as "modules" and then use require("..") to reference them from main.js
. This GitHub issue thread may help you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.