Does this static site generation copy over public files like favicon, manifest.json etc? #82
-
I've used Under How do you copy a file from public, like manifest.json into the public folder for the static site? I just copying over manifest.json from /public into EditAnswering my own question, yes, need to copy over favicons, manifest.json and other public files to If you're trying to make a PWA using this guide exactly, then the below script (put into package.json) will be helpful to automatically copy over public files and put them into the static location. Run
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'd recommend adding the files you wish to copy into the
|
Beta Was this translation helpful? Give feedback.
I'd recommend adding the files you wish to copy into the
copy
array inside the SSG config (config/statamic/ssg.php
):