Webpack-and-Babel Flashcards
What is Webpack?
Webpack is a bundler that bundles all JavasScript files and npm packages into a single or fewer files by scanning through files to find an import statement to find all the modules your application uses
What is the advantage of using Webpack (or a similar bundler)?
It condenses your files by removing unused code and renames variables, functions,classes to ensure no naming conflicts.
What is Babel?
Babel is a JavaScript transpilier that converts code written in newer versions of JavaScript into older versions
What is the advantage of using Babel (or a similar transpiler)?
Allows for appilcations written in newer versions of JavaScript to run on older devices or systems