webpack Flashcards

1
Q

What is Webpack?

A

webpack automatically build and infer your dependency graph based on what is imported and exported

lets you bundle your JavaScript applications

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

use the –save-dev flag

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

What is an NPM script?

A

set of instructions

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

add a build script in package.json for webpack then npm run build

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