This isn’t correct, you do not need to mark the entire project as a module in order to execute import statements. Simply change the file extension from js (JavaScript) to mjs (modular JavaScript).
I believe they changed the behavior recently. Marking the entire thing as a module makes you unable to use require in all scripts unless you create a custom require function using import.
My apologies, thanks for correcting me. I also mentioned it because I highly recommend that people use ES6 modules especially if they’re starting out a new project, this is because they’re much simpler and newer than the outdated old school require and module.exports.
that is a bummer, I was using RbxCloud before switching to this module, the creator of it informed us that if we want to use OrderedDataStore, we should switch to this one…
is there any estimates when you will be adding support for OrderedDataStore?
I got stuck on Update endpoint as it doesn’t update anything even though it returns the updated value correctly. I am not sure if I should release this module with this problem. I have reported the issue, but I don’t think that I will get an answer. Otherwise, the update is done since Saturday.