gulp
gulp build
(serves files out of ./app)
node server
(serves files out of ./build)
NODE_ENV=production node server
Server also runs fb-flo for live updating
Builds look like this
- build/
- index.html
- cache.appcache
- dist/
- bundle.js
- bundle.js.map (currently missing)
- vendor.js
- vendor.js.map (currently missing)
- bundle.css
- bundle.css.map (currently missing)
- assets/
- image.jpg
- ...
cache.appcache
has all non asset/
files in it
(nor *.map
files, nor cache.appcache
)
- add build step to add all
asset
files tocache.appcache
- minify/concat css w/source maps
- fix missing js maps