JSPM

JSPM

@jspm · Twitter ·

🟨 A brief intro to "module scripts" in browsers, for the unfamiliar. When adding type="module" to HTML script tags, this enables native module syntax to import any JavaScript module from an embedded script tag without the need for any additional tooling apart from a server.

HTML embed with a script type="module" tag importing a module from ./another.js.