Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 549 Bytes

File metadata and controls

28 lines (20 loc) · 549 Bytes

Part-2--Webpack-package-nestjs-application

The code demonstrates the power of hot module reloading and packaging of NestJs application using Webpack

Installation

$ npm install --save-dev webpack webpack-cli webpack-node-externals ts-loader
$ npm install fork-ts-checker-webpack-plugin
$ npm install config // On need basis if using congig npm module
$ npm install

Running the app

# webpack
$npm run webpack

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod