-
Notifications
You must be signed in to change notification settings - Fork 39
MinifierFilterImportImports
natxet edited this page Oct 6, 2015
·
1 revision
#sidebar Sidebar
= !ImportImports minifier filter =
== Description ==
This filter external stylesheets defined in @import at-rules will get parsed and inserted into the current stylesheet.
Imported stylesheets are allowed to have their own @import at-rules. It is required to set set the configuration
parameter BasePath
to a valid path. All paths defined in @import at-rules will get interpreted based on this base path.
If there are media type defined in the @import at-rule there will be alot of processing to simulate the browsers behavior. This includes:
document level rulesets get wrapped into a @media at-rule block with the media types defined in the @import at-rule.
@media at-rule blocks with partial matching media types the unmatching media types will get removed.
@media at-rule blocks with the same media types as the @import at-rule the containing rulesets get moved to document level and the @media at-rule block removed.
@import at-rules with no media type (or only the "all" media type) defined the media type of the @import at-rule will get set to the media types defined in the parent @import at-rule.
== Configuration: ==
- !BasePath: Defines the base path. Every resource path of any @import at-rule will get interpreted based on the configured base path.
== Defaults: ==
false
== Example ==
- not available