babel-intro Flashcards

1
Q

What is Babel?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Plug-in?

A

A plugin is a software component that adds a specific feature to an existing computer program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Webpack loader?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can you make Babel and Webpack work together?

A

Installing babel-loader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly