jspm / project

Roadmap and management repo for the jspm project
161 stars 8 forks source link

Package Issue - @react-three/fiber@7.0.15 #136

Closed vovacodes closed 3 years ago

vovacodes commented 3 years ago

This one fails despite the files being published to npm: https://generator.jspm.io/#Y2NgYGBk9M1PKc1JLWZwKEpNTC7RLckoSk3VT8tMSi1yMNcz0DM0BQCX4u8EJwA

// The dist folder that contains the *.cjs.js file: https://unpkg.com/browse/@react-three/fiber@7.0.15/dist/

// Original package.json: https://unpkg.com/browse/@react-three/fiber@7.0.15/package.json

vovacodes commented 3 years ago

Ah I think the issue was that I didn't have the "module" toggle enabled, but still weird that "main" wasn't resolved though.

guybedford commented 3 years ago

Thanks for reporting this one anyway - turned out to be a very specific bug to do with "module" condition handling which I've fixed and rebuilt for. I need to revalidate the module builds anyway so this was a great one to catch now.