What Does NPM Run Webpack Do?
What Does NPM Run Webpack Do? Within the scripts property, npm allows us to reference locally installed Node. js packages by their names . We use that and the –mode flag to define dev and build tasks, which will run webpack in development ( npm run dev ) and production ( npm run build )