You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's strange is that if I download the zip of that project, install and run it, it works fine. I think codesandbox is doing something behind-the-scenes that doesn't work with es modules.
In the meantime, on this codesandbox template, you can replace 'ogl' with 'ogl/dist/ogl.umd.js' and it will work. This is recommended for all bundlers that still don't support es modules (browserify, Vue SSR). It's worth noting that Parcel does support es modules, which is why this issue is strange on the codesandbox platform...
Try change version from 0.0.35 on 0.0.33 and it start works, other (greater that 0.0.33) doesnot import correctly.
https://codesandbox.io/s/condescending-meninsky-yje0j
The text was updated successfully, but these errors were encountered: