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
2
Q
How do you add a devDependency to a package?
A
use the –save-dev flag
3
Q
What is an NPM script?
A
set of instructions
4
Q
How do you execute Webpack with npm run?
A
add a build script in package.json for webpack then npm run build