Closed
Description
New Feature / Enhancement Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Current Limitation
Using require is the old way of coding, most of my code needs to be converted to this crappy syntax when moving to cloud code
Feature / Enhancement Description
Use import instead of require in the whole project
Example Use Case
Not having to rewrite code to an old way of doing
Alternatives / Workarounds
Thanks to @mtrezza here is a workaround:
Creating a main.cjs file in the cloud folder and pointing to it in the Parse Server Config
(async () => {
await import('./main.js');
})();
3rd Party References
Litteraly every single big node based project
Would also recommend using hono and deno to get a massive performance boost