@babel/core: "7.x"
summary
Babel 7.x roadmap, concrete migrations and tools: preset-env plus usage-based polyfills shrink bundles dramatically — a test drops a 192 KB build to ~44 KB for ~93% of users by targeting modern browsers; beta is at 30.2 with a 33 and release candidate due soon; scopes move packages under @babel/ so team access and officialness improve; new transforms: class fields (private via WeakMap), decorators (stage-2), numeric separators, Unicode property escapes, dynamic import support, and a transform-typescript plugin that strips types. Also describes a simple server that serves per-target bundles based on user-agent, which works and reduces payloads.
AI-written summary · about
chapters (17)
- 0:00Introduction to Babel
- 4:56What Babel is and its role
- 8:11Babel packages structure
- 10:22JavaScript standards support
- 13:15Babel 7.x class fields
- 16:26Unicode properties plugins
- 17:52Dynamic import and numeric separators
- 18:33Decorators evolution
- 19:55Operator transformation
- 20:18TypeScript with Babel
- 22:01Babel Preset bundle optimization
- 24:49Bundle size experiments
- 25:51Polyfill support in Preset
- 27:16Production Preset setup
- 28:19Browser-based bundle generation
- 30:26Babel Preset usage examples
- 34:19Q&A
related talks
58m10KB or Bust: The Delicate Power of Webpack and Babel
44mBabel: ES7 and beyond
11m99 Ways to Take Away Your Ugly Polyfills
36mMigrating Babel from CommonJS to ESM
52m10KB or Bust: The Delicate Power of Webpack and Babel
27mCompile Like It's 2017
52mA taste of EcmaScript 6: the language and the tools
18mTuning Babel to your runtimes
