Babel Flashcards
1
Q
What is Babel?
A
Babel is a toolchain that is mainly used to convert ECMAScript 2015+ code into a backwards-compatible version of JavaScript in current and older browsers or environments.
TLDR; can translate code into different syntaxes
2
Q
What is a Plug-in?
A
An addon
3
Q
What is a Webpack loader?
A
A webpack loader is a Node module that tells webpack how to take some input content and transform it into output JavaScript/syntax.
4
Q
How can you make Babel and Webpack work together?
A
Install desired loader and configure it to use the loader.