| 1. |
What is Webpack? |
|
Answer» Webpack is a static module bundler tool that is designed to bundle JavaScript files, to be used in a browser. MODULES are reusable CODE chunks built from JavaScript, external libraries in node_modules, CSS styles, images, and other assets. They are packaged and can be easily added to a WEBSITE. Webpack generates a single or a few files that can RUN your application from a large number of original files. Webpack puts all files, assets, code, images, fonts, etc. in a dependency graph. Based on this graph, a new package is created that contains only the bare minimum files required that can be easily embedded into the HTML file and used in the application. |
|