babel-intro Flashcards
1
Q
What is Babel?
A
Babel is a JavaScript compiler, it converts newer version of JavaScript code into a compatible version to be used in current or older browser.
2
Q
What is a Plug-in?
A
A plug-in is a software component that adds a specific feature to an existing computer program.
3
Q
What is a Webpack loader?
A
A Webpack loader help webpack to compile or transform a given type of source code that can be bundled as a JavaScript module.
4
Q
How can you make Babel and Webpack work together?
A
You would have to specify babel-loader as the loader in the webpack.config.js file.
(in module.rules)