Manipulate CSS urls.
- Make relative urls absolute (useful when combining assets)
Equivalent to passing the same string twice to
Equivalent to passing
The location the CSS file should appear in the static subsite
Path to the CSS file.
|-> Maybe (CssGeneration -> IO ByteString)|
Another filter function run after this one (for example
Automatically make relative urls absolute
During development, leave CSS as is.
When CSS is organized into a directory structure, it will work properly for individual requests for each file. During production, we want to combine and minify CSS as much as possible. The combination process combines files from different directories, messing up relative urls. This pre-processor makes relative urls absolute
Anchors relative CSS image urls