Closed narirou closed 5 years ago
I can't reproduce it, when I run this, I get the test.css content inside the cache file.
What is you Pug-php/Phug version and what PHP code do you use to render/display the pug file?
We will prepare the environment where problem occurs. Thanks.
I close this for now, I will reopen if you can provide a minimal test case to reproduce the bug.
Thanks.
Hello,
When creating a cache with the following code by
cacheDirectory
method:We assumed that caches will be created including css file according to the following documents https://www.phug-lang.com/#including-plain-text
But cache file(php) created without css, like this:
And an error will occur when displaying this file using
Phug\Optimiser::displayFile
.Thanks!