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

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -