Npm how to install webpack nodejs

A guide on how to install webpack bundler and webpack-cli using npm package manager
first thing install webpack it's recommended not to install webpack globally to avoid conflicts with webpack versions
npm i webpack -D
Note it's installed as a developer dependency.
You'll also need to install webpack-cli
npm i webpack-cli -D
Again as a developer dependency.

Comments

Popular posts from this blog

FlappingBird Postmortem (JS13K)

JavaScript introduction to variables

FlappingBird JS13K Games

How to target all elements of a given class name in JavaScript

Zedplug will be decommissioned on November 30th