engine
engine copied to clipboard
feat: use node's native import() to load modules
target is now node16, which means we still transpile our code to cjs (no "type": "module" yet).
we now retain the dynamic import() calls as-is, rather than transpiling them to require() calls.
this will make it easier for user projects to move to native esm.