But another question: why Publii add “-files” to the name of folder in “output directory”? Is it possible to avoid this? Because my folder local website is “\mysite” and Publii make in this folder “\mysite\mysite-files” and when I visit the local url the site not working.
It is a mechanism to protect files in the destination directory. Without it sometimes people reported that they have lost their files in the destination directory (it is emptied before deployment). At this moment there is no option to disable it, but I suppose that it is not a problem to navigate local domain to different path.
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!