webaverse / xrpackage

XR (VR+AR) web object packaging core API
https://xrpackage.org/
24 stars 10 forks source link

Import Maps support #87

Open avaer opened 4 years ago

avaer commented 4 years ago

Import Maps are an upcoming feature that allows controlling what import statements resolve to.

This would for example allow us to have packages that literally:

import * as THREE from 'three@r104';

It would also spare the packages from having to ship these libraries, while also coalescing the loads down to a CDN or something.