xbytes icon indicating copy to clipboard operation
xbytes copied to clipboard

Module import issue

Open chongdongkongjian opened this issue 1 year ago • 4 comments

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]

chongdongkongjian avatar Jul 17 '23 05:07 chongdongkongjian

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

miraclx avatar Mar 29 '24 18:03 miraclx

@miraclx I ran into this problem when packing [email protected] with ncc.

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

skypesky avatar Apr 01 '24 05:04 skypesky

@skypesky fixed by https://github.com/miraclx/xbytes/pull/12

LancelotLewis avatar Apr 01 '24 05:04 LancelotLewis

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

miraclx avatar Apr 01 '24 12:04 miraclx