Demo PWA app.
Intial packege.json
- npm init -y
Essentail modules for webpack
- npm install --save-dev webpack webpack-dev-server webpack-cli html-webpack-plugin
For loading styles
- npm install --save-dev style-loader mini-css-extract-plugin css-loader
For cleaning Dist folder
- npm install --save-dev clean-webpack-plugin
source