September 2017
Intermediate to advanced
450 pages
11h 24m
English
WebPack as a build system provides a robust configuration tool for bundling files together for web applications. It's most commonly used for front-end applications, such as Angular, but it can also be used for back-end applications, such as Express.
To configure WebPack for our Express application, we will need to install it and some other dependencies in our application. It is recommended that you save these as dev-dependencies since they are only relevant to the building of our application, and not the underlying business logic of our application itself:
npm install --save-dev webpack ts-loader copy-webpack-plugin webpack-node-externals
These modules provide tools that will make working with WebPack in Node.js much easier: ...
Read now
Unlock full access