Svelte ❤️ Three
I have created a very basic demo of a rotating plane locally using Sveltekit, three and svelte-cubed. It works fine locally. After build, I get the following 500 error: Must use import to load ES Module: /var/task/node_modules/three/examples/jsm/controls/OrbitControls.js I narrowed my script down to only the import calls: `import * as THREE from 'three'; import * as SC from 'svelte-cubed';` This still throws the 500 error. I then narrowed it down to just `import * as THREE from 'three';` and no errors are thrown. FWIW, I'm using Netlify. I have deployed many Sveltekit sites up to this point without issue.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by henken and has received 2 comments.