Closed deadlyfingers closed 8 years ago
Figuring how to add socket.io script which is created dynamically by server - vulcanize only recognises statically hosted files. Turns out Vulcanise doesn't take input src like other gulp modules if you need to use 'inputUrl' so saving as a copy *.tmp file.
Suggest moving everything out of '/www/jxcore' folder to '/app' (localhost) dev folder. Then running gulp build to put 'distribution' files into jxcore folder which means we bundle components (node & bower) that are only required for mobile. That should reduce files and therefore deploy time for postcard app.
Using 'gulp build' script to update the 'www/jxcore' dist directory with packaged app. This should be hooked into cordova build
to keep things in a Cordova app flow - so I can still push any dev changes into the 'www/jxcore' folder with one command (related to #82)
By using gulp build script client-side / public files are reduced from 3106 items to just 2! This will help speed deploying to iPhones as there are less files for Xcode to transfer.
Setup Polymer vulcanize & gulp script to build app as production webapp.