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
For example, I might like to have a convention where users use import * as Lib or import * as LIB in all my code examples, and it would be nice if JSPM can perhaps read metadata (I'm guessing from package.json) so it know what name to use by default in the importmap generator's output sample.
The text was updated successfully, but these errors were encountered:
As an example, people in Three.js community tend to use THREE as the namespace when they import (convention from the global script days). So if the import statement for Three.js could be configured at the library level, the script in the output could be:
<scripttype="module">import*asTHREEfrom"three";// Write main module code here, or as a separate file with a "src" attribute on the module script.console.log(THREE);</script>
For example, I might like to have a convention where users use
import * as Lib
orimport * as LIB
in all my code examples, and it would be nice if JSPM can perhaps read metadata (I'm guessing from package.json) so it know what name to use by default in the importmap generator's output sample.The text was updated successfully, but these errors were encountered: