2ality | JavaScript and more
Follow
Learning web development: Installing npm packages and bundling
In this chapter we develop a small web app in the same way that large professional web apps are developed:We use libraries that we install via npm.
We write tests for some of the functionality.
We combine all JavaScript code into a single file before we serve the web app. That is called bundling. (Why we do that it explained later.)