You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the code under server uses ESM and the remaining code is transpiled to CJS. Ideally we would be able to set "type": "module" and drop the .mjs extension for the server code. Of course, the React code under pages and component would still need to be transpiled.
The last time this was attempted, there was some issues with Next.js:
Currently the code under
server
uses ESM and the remaining code is transpiled to CJS. Ideally we would be able to set"type": "module"
and drop the.mjs
extension for the server code. Of course, the React code underpages
andcomponent
would still need to be transpiled.The last time this was attempted, there was some issues with Next.js:
The text was updated successfully, but these errors were encountered: