webpack-intro Flashcards

1
Q

What is Webpack?

A

webpack bundles your JS application by automatically building your dependency graph based on what is imported and exported

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

npm instal –save-dev

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

What is an NPM script?

A

a CLI command that you can automate

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

You set up the webpack in the script - then npm run and then the string name of the script you put

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