May 20, 2023
The ESM version will not work as @babel/register does not support compiling native Node.js ES modules on the fly. It is because currently there is no stable API for intercepting ES modules loading. It is not able to compile JSX on the fly.
Yes, we have to use a compiled version of the front end application.