How to deploy angular 4 universal app to firebase -


with introduction angular 4 of universal, can't figure out how deploy app firebase hosting. followed steps here https://github.com/angular/angular-cli/wiki/stories-universal-rendering

i can't figure out part of though:

"the bundle produced has hash in filename webpack. when deploying production server, need ensure correct bundle required, either renaming file or passing bundle name argument server."

usually use ng build --prod

then firebase deploy dist directory.

with universal inclusion, folder deploy firebase?

dist-server or dist?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -