/Part2-webpack-package-nestjs-application

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

Primary LanguageTypeScriptMIT LicenseMIT

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