Skip to content

@import and stylesheets that are included multiple times feature request #358

@spiderworm

Description

@spiderworm

In some cases, especially with code bases with a very large number of stylesheets, a certain stylesheet could technically be imported more than once (say for instance stylesheet A imports B and C, B imports D and E, and C imports E and F... notice that E is being imported twice). For development this is handy, as in some situations a page may want to load stylesheet C without the rest of the overhead that comes with stylesheet A. When r.js combines these files, it would be nice if E was only included once in the final version of A.... however, it ends up duplicated in A.

The best implementation of this would be, when a stylesheet is imported more than once, it shows up in the rendered document at the last location only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions