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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you add a devDependency to a package?

A

using the npm install command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly