alxhub / io17

106 stars 21 forks source link

ngu-sw-manifest not populating the Routes #22

Open rahulrsingh09 opened 7 years ago

rahulrsingh09 commented 7 years ago

I am uisng this command in the following shell script to generate the manifest file.

#!/bin/bash
PATH=$PATH:$(npm bin)
set -x
# Production build
ng build --prod
# merge ngsw-manifest and copy to dist
./node_modules/.bin/ngu-sw-manifest --module src/app/app.routing.ts \
--out dist/ngsw-manifest.json
# Serve
cd dist
http-server 

But My Generated manifest file is missing the routing configuration , is there any flag i need to append to it ?