Webpack Flashcards

1
Q

What is webpack?

A

A tool that lets you bundle JavaScript apps and assets (ie: images, fonts, stylesheets) and support for other languages via ‘loaders’

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

via command line (npm install –save-dev) or manually editing package.json

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

What is an NPM script?

A

automatically runs and installs things that are needed

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 (build)’

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