3 ms·
It's available in Edge if you have Windows Insider (the Edge equivalent of Chrome Canary). There are some bugs there though. Note that the browser's module sup
by MatthewPhillips 10y ago
It's available in Edge if you have Windows Insider (the Edge equivalent of Chrome Canary). There are some bugs there though.
Note that the browser's module support is stricter than Node's, you have to point your imports to the specific file you want to import and include `.js` on the end, for example this won't work:
https://github.com/mrdoob/three.js/blob/dev/src/materials/Material.js#L1 https://github.com/mrdoob/three.js/blob/dev/src/materials/Ma...
in script[type=module]. So there will still need to be a refactor of THREE.js even after browser support starts coming in.