-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cjs export problem #75
Labels
help wanted
Extra attention is needed
Comments
Actually, in the latest version of this plugin, the exports.default = src_default; If I understand you correctly, you are bundling your server to CJS and the Need a reproduction |
aleclarson
added
help wanted
Extra attention is needed
and removed
waiting for response
The issue author needs to reply
labels
Dec 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tsup generate cjs will wrap another key,such as 'src_default as default'.
So i bundle myself scripts will not work in cjs server mode.
Dose it work if you add server.js in cjs mode? Not esm mode server.mjs.
dirst/index.js
now:
i think it should be: (direct exposure function)
The text was updated successfully, but these errors were encountered: