Babel Flashcards
What is Babel?
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.
Javascript piler to convert es15 code to backwards compatible code??
What is a Plug-in?
a software component that adds a specific feature to an existing computer program.
plugins enhances existing software but software works fine without plugins
What is a Webpack loader?
transformations that are applied to the source code of a module. They allow you to pre-process files as you ‘import’ or “load” them.
Transformations applied to source code module
How can you make Babel and Webpack work together?
Using ‘babel-loader’ package