webpack-intro Flashcards

1
Q

What is Webpack?

A

a tool that lets you bundle javascript files (modules) into one main.js file

this is called bundling

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 install <package> --sav-dev</package>

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

What is an NPM script?

A

terminal commands that perform a set of actions

it is essentially a command line command with a nickname

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

npm run


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

wWhat is required for webpack to run?

A

an src with an index.js file

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