google / web-starter-kit

Web Starter Kit - a workflow for multi-device websites
http://developers.google.com/web/starter-kit
Apache License 2.0
18.43k stars 3.02k forks source link

Copying files to `dist` #900

Closed oliverjam closed 7 years ago

oliverjam commented 7 years ago

Edit: I'm an idiot, somehow I'd changed the destination of the copy in the gulpfile (from dist to .). Ignore me...

I'm not sure if I'm missing something obvious, but if we're meant to deploy the dist directory, why do lots of files (the web app manifest and favicon for example) in the root not get copied over by the Gulp task?

The deploy documentation advises

Enter dist. This works because when you run gulp to build your application, WSK builds everything and places it all in dist. So dist contains everything your application needs to run.

But when I run gulp all that ends up in dist are html files, the images, styles and scripts directories, and service-worker.js.

Should I be configuring the gulpfile to get the rest of the files in root copying across?