Skip to content
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

Module import issue #9

Open
chongdongkongjian opened this issue Jul 17, 2023 · 4 comments
Open

Module import issue #9

chongdongkongjian opened this issue Jul 17, 2023 · 4 comments
Labels
action-or-close This issue or pull request will be closed if no further information is provided question Further information is requested

Comments

@chongdongkongjian
Copy link

load component failed Error: ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ./node_modules/xbytes/dist/index.mjs
at Object.set [as exports]

@miraclx
Copy link
Owner

miraclx commented Mar 29, 2024

Sorry I missed this, can you test it again on v1.9.0?

@skypesky
Copy link

skypesky commented Apr 1, 2024

@miraclx I ran into this problem when packing xbytes@1.9.0 with ncc.

https://stackoverflow.com/questions/76127288/module-not-found-error-default-condition-should-be-last-one

@LancelotLewis
Copy link
Contributor

@skypesky
fixed by #12

@miraclx
Copy link
Owner

miraclx commented Apr 1, 2024

@skypesky, thanks for filing. And @LancelotLewis, thanks for the patch. I've cut v1.9.1.

@miraclx miraclx added question Further information is requested action-or-close This issue or pull request will be closed if no further information is provided labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action-or-close This issue or pull request will be closed if no further information is provided question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants