Guy Bedford: Package Management for ES6 Modules [JSConf2014]

Published: 15 July 2014
on channel: JSConf
20,246
165

How does the transition into ES6 modules work for browsers exactly? How do we enable modular version-managed front-end architecture in the process?

jspm provides almost-magical package management for JavaScript built around the principles of version-managed ES6-modules and the dynamic ES6 module loader from the core.

In short, jspm starts off by making ES6 modules work dynamically in browsers today through the dynamic ES6 Module Loader polyfilll, then we make all existing module formats work through this same loader, then then we add offline build workflows for production and a command-line package manager to allow modular dependency management. Finally turn the whole thing around and add a CDN with server-push, and you have install-free version-managed module loading in the browser.


Watch video Guy Bedford: Package Management for ES6 Modules [JSConf2014] online without registration, duration hours minute second in high quality. This video was added by user JSConf 15 July 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 20,246 once and liked it 165 people.