How to Install webpack in Ubuntu 18.04



Install webpack by entering the following commands in the terminal:

sudo apt update
sudo apt install webpack

Description:

Packs CommonJs/AMD modules for the browser

Webpack takes code targeted at node.js and makes it run in the browser. Node.js comes with API of its own that is not available in the browsers. Webpack exposes this code to programs that are unaware they are running in a browser. . Node.js is an event-based server-side JavaScript engine.

Homepage: https://github.com/webpack/webpack

Version: 3.5.6-2

Section: universe/javascript