Expand description

Dependency analysis.

Dependencies in CSS can be analyzed using the analyze_dependencies option when printing a style sheet. These include other style sheets referenved via the @import rule, as well as url() references. See PrinterOptions.

When dependency analysis is enabled, @import rules are removed, and url() dependencies are replaced with hashed placeholders that can be substituted with the final urls later (e.g. after bundling and content hashing).


An @import dependency.

A line and column position within a source file.

Represents the range of source code where a dependency was found.

A url() dependency.


A dependency.