cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

fix wrong node modules' conditional exports order

Open PPpro opened this issue 1 year ago • 3 comments

see the relative feedback: https://forum.cocos.org/t/topic/149932/527?u=_pp

our implementation should follow the standard nodejs consditional exports specification https://nodejs.org/api/packages.html#conditional-exports

PPpro avatar Jul 21 '23 03:07 PPpro

I was going to ask for this, very nice to see this in your backlog! This would allow the use of many libs without the hassle of CJS default exports only.

3dos avatar Aug 11 '23 12:08 3dos

This problem has not been fixed in the 3.8.2 beta version.

smallmain avatar Jan 12 '24 07:01 smallmain

image When the editor enters cocos, browser, the value with spaces is stored in project.json. I don’t know if this will cause problems.

smallmain avatar Jan 13 '24 17:01 smallmain