mono icon indicating copy to clipboard operation
mono copied to clipboard

[Question] Using ESM Syntax (with @zeit/ncc)

Open creazy231 opened this issue 6 years ago • 2 comments

At first I want to say thank you for that awesome light framework to create efficient REST APIs ❤

I want to build my application using ESM Syntax. Is there any way to do so? In the past I works a lot with @zeit/ncc as a compiler but I don't know how to set it up using monojs. With @zeit/ncc I can run applications using ncc run index.js for example. Is there any way I could use it using monojs?

creazy231 avatar Mar 28 '19 11:03 creazy231

Hey @creazy231

I like this idea, sadly I am not working on MonoJS anymore, but we are looking for maintainers, the framework is really simple and is mostly relying on glob for the FS discovery.

Would you be interested in helping us improving MonoJS?

atinux avatar Apr 01 '19 15:04 atinux

Hey @Atinux

Thanks for taking the time to response 👍 I totally understand your behavior that there is some point in life where you can't maintain everything and you have to take the time you have for other projects like NuxtJS (❤️)

Of cause I took a look into the code of MonoJS and I can mostly understand what you're doing and why but I don't feel confident to maintain the module for now. I wouldn't even know where to start with my current knowledge modifying MonoJS to be able to use ESM Syntax. 😢

Hopefully you can find someone who's able to maintain this awesome module in the future. I'll take your code to learn and trying around locally.

Thanks

creazy231 avatar Apr 01 '19 16:04 creazy231