Replies: 1 comment 3 replies
-
JSX isn't standard JavaScript which is why you're getting a syntax error. It looks like your Babel config needs to handle the JSX before the ESM loader. I might be able to help more if you shared your project or at least your Babel config. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As indicated in the title, how to do SSR with a server in ESM format ? Currently I am trying to set up the SSR following the official documentation. But when I run the server, this is what I get:
Do you know what I have to do to make it work with an ESM server? Because I did a test with a server in CJS format and it works without problem.
Thank you in advance for your answers and advice. Best regards.
Beta Was this translation helpful? Give feedback.
All reactions