How to Install webpack NPM Packages on Ubuntu / Debian

How to Install webpack software package in NPM Packages

webpack : Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.. You can installing webpack npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install webpack
$ sudo npm install -g webpack

If want to update the webpack package execute the command as below,

$ sudo npm update webpack

Update package globally,

$ npm install -g webpack

Git clone:

$ sudo  git clone https://github.com/rektide/webpack.git
$ sudo  npm install -g ./webpack

webpack@3.8.1 /usr/lib/node_modules/webpack

How to remove webpack package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall webpack

Basic Information of webpack NPM Package:

Package Name webpack
Version 3.8.1
Description Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Released Date 2017-10-17T15:22:36.646Z
Published by sokra
How to Learn https://www.npmjs.com/package/webpack/tutorial