Hello, I wanted to start using DurableObjects and a prerequisite to that is to use ESM. There isn’t one central place with docs on how to migrate, but here are the steps I’ve taken:
I verified my build results in the bundled
index.js file ends up at
I still am seeing the error on startup of: “The
main key in your
package.json file is required; please specify the entry point of your Worker.”
Any other suggestions on things I have to change to make this work? For instance, do I need to use the
Thanks for the help in advance!