Closed tomasfejfar closed 6 years ago
I see, thanks for clear example.
From top of my head, I would try add .html
to static files here: https://github.com/Symplify/Symplify/blob/7d2b7a1945af09e38fb1e32183c45f6afc00f7dc/packages/Statie/src/FileSystem/FileFinder.php#L14
and remove from here: https://github.com/Symplify/Symplify/blob/7d2b7a1945af09e38fb1e32183c45f6afc00f7dc/packages/Statie/src/FileSystem/FileFinder.php#L69
*.html
files should be static with no modification.
Btw, what exactly do you need this for? Gradual migration of plain-html website?
I have a static site for our wedding in the subdirectory, that does not need to be handled by statie.
In the end I worked around it with a simple hack.
:+1:
I've "found the digged dog" in the meantime :)
All files that end with "index.html" are moved to root as "index.html" and the last wins.
WIP
Thx
How to reproduce:
/source/subdirectory/index.html
Expected:
/output/subdirectory/index.html
exists (like it works for example for/source/css/style.css
)Actual:
/output/subdirectory/index.html
file is missing, other files (styles, images, js) are there