added optional feature for rewriting CSS images to output-fol...#6
added optional feature for rewriting CSS images to output-fol...#6schmunk42 wants to merge 4 commits intomikehaertl:masterfrom
Conversation
…folder on package compression
PackageCompressor.php
Outdated
There was a problem hiding this comment.
Please rename to copyCssAssets. I'd also change the docs to:
Whether to copy CSS assets from their source location to the package output directory. Note, that this
feature is considered experimental. It will copy all files from the CSS files' source directory to the
package output directory which may not always lead to useful results.
|
I found a much better solution, IMHO. Please let me know what you think. tl;dr PackageCompressor ~line 149 This would replace the previous PR. Background: Works fine so far from a virtual host, I had an issue with running it from a sub-path, but that should be fixable. PS: This would also add one composer dependency. [edit] |
...der on package compression.
Experimental! See also yiisoft/yii#1033 - how do you work around the images problem?