What is Webpack?
Webpack is a static module bundler for JavaScript applications — it takes all the code from your application and makes it usable in a web browser. Modules are reusable chunks of code built from your app’s JavaScript, node_modules, images, and the CSS styles which are packaged to be easily used in your website.
How do you add a devDependency to a package?
With the flag: –save-dev in the command line.
What is an NPM script?
An NPM script allows you to enter command line commands and other commands as part of the npm package.
How do you execute Webpack with npm run?
npm run build. Build is defined as an npm script and can be anything you define it as.