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?
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
But when I run
gulp
all that ends up indist
are html files, the images, styles and scripts directories, andservice-worker.js
.Should I be configuring the gulpfile to get the rest of the files in root copying across?