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
2
Q
How do you add a devDependency to a package?
A
npm instal –save-dev
3
Q
What is an NPM script?
A
a CLI command that you can automate
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