Skip to content

SSR loads bundled CSS files in incorrect order #450

Open
@tracer99

Description

@tracer99

If you have component less files, you expect to be able to override global CSS from the main less file using the same specificity. However, if you use bundles, the bundles may not be loaded in the way you expect. In our case, the main css file is loaded last. Meaning your component CSS has to have a higher specificity.

They don't seem to be in any specific order, other than the main css file being last every time. Not alphabetical. Not in order that the bundles are declared in package.json.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions