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’
2
Q
How do you add a devDependency to a package?
A
via command line (npm install –save-dev) or manually editing package.json
3
Q
What is an NPM script?
A
automatically runs and installs things that are needed
4
Q
How do you execute webpack with npm run?
A
‘npm run (build)’