Migrating to ES Modules

I have a fairly large project written with the Service Worker syntax. Because of this I'm using the global variables for bindings and environment variables in a lot of places. Can I use something like AsyncLocalStorage with the nodejs_compat flag to prevent a large code rewrite? Is there any performance implications to this or redflags I should be aware of?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server