webpack Flashcards
1
Q
What is Webpack?
A
tool that bundles JS applications/modules and puts them into a main.js
2
Q
How do you add a devDependency to a package?
A
npm install –save-dev
3
Q
What is an NPM script?
A
shortcut commands that runs a code that we installed on devDependencies and other npm registry files
4
Q
How do you execute Webpack with npm run?
A
npm run build