Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 317 Bytes

babel.md

File metadata and controls

10 lines (6 loc) · 317 Bytes

babel

What's the difference between a preset and a plugin?

  • plugin: tells babel how to transform code
  • preset: a collection of plugins and config

working with AST

this is so useful to help with understanding the javascript Abstract Syntax Tree, and trying out transformations: http://astexplorer.net/