Webpack-Intro Flashcards
1
Q
What is Webpack?
A
It’s a tool that lets you bundle multiple JavaScript files/modules into one and feeds it to the browser to run
2
Q
How do you add a devDependency to a package?
A
using the npm install command
3
Q
What is an NPM script?
A
An npm script is a convenient way to bundle common shell commands like a set of built-in and custom scripts for your project. They are typically terminal commands or a string of terminal commands that help automate repetitive tasks.
4
Q
How do you execute Webpack with npm run?
A
using the npm run commmand followed by the name of the script that runs Webpack