mirror of
https://github.com/mrclay/minify.git
synced 2025-08-24 14:42:50 +02:00
Update UriRewriting.wiki.md
This commit is contained in:
@@ -26,7 +26,7 @@ $min_serveOptions['rewriteCssUris'] = false;
|
|||||||
You can manually rewrite relative URIs in CSS in a couple ways. The simplest is to prepend a string to each relative URI:
|
You can manually rewrite relative URIs in CSS in a couple ways. The simplest is to prepend a string to each relative URI:
|
||||||
```php
|
```php
|
||||||
$min_serveOptions['rewriteCssUris'] = false;
|
$min_serveOptions['rewriteCssUris'] = false;
|
||||||
$min_serveOptions['minifierOptions'][MINIFY::TYPE_CSS]['prependRelativePath'] = '/css/';
|
$min_serveOptions['minifierOptions'][Minify::TYPE_CSS]['prependRelativePath'] = '/css/';
|
||||||
```
|
```
|
||||||
|
|
||||||
Or you can run the minified output through a custom [post-processor](CookBook.wiki.md#Processing_Output_After_Minification.md) function.
|
Or you can run the minified output through a custom [post-processor](CookBook.wiki.md#Processing_Output_After_Minification.md) function.
|
||||||
|
Reference in New Issue
Block a user