babel-intro Flashcards
What is Babel?
Babel is a JavaScript compiler. Mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript. Can transform syntax, polyfill features that are missing, source code transformations.
What is a Plug-in?
A plugin is a software component that adds a specific feature to an existing computer program.
What is a Webpack loader?
Loaders are transformations that are applied to the source code of a module. They allow you to pre-process files as you import them. They can transform files from a different language, load inline images as data URLs, import CSS files directly from JS modules, etc.
How can you make Babel and Webpack work together?
Installing babel-loader