Authoring and publishing ES6 modules today
summary
Describes practical strategies for writing and publishing ECMAScript 2015 (ES6) modules so they work across current JavaScript environments, including Node.js versions 0.10, 0.12, 4, 5 and browsers such as IE11. Covers interoperability with existing module loaders and script consumers and shows workflows or tools for producing reusable modules from ES6 syntax that isn’t uniformly implemented yet.
AI-written summary · about
chapters (8)
- 0:00Intro
- 0:37Writing an application in ES6
- 0:49Writing a reusable module in ES6
- 1:55file: index.js 1 import echo from './src/echo'
- 2:18directory: dist-module/ tree dist-module dist-module
- 2:31Traps
- 3:57Summary
- 4:26Bonuses • automatic bundle push to cdns
related talks
33mES6 Modules in the Real World
48mESM: EcmaScript Modules in browser and NodeJS. It's about time!
48mTomorrow's ES modules today
31mECMAScript Modules: Past, Present, and Future
32mES Modules in Node JS
21mWhat's ECMAScript 6 Good For?
34mNode.js: Path to ES6 modules
24mNavigating the Wild Seas of Native ES Modules
