Skip to content

Support for critical css without css modules #51

Open
@pastelsky

Description

@pastelsky

Not every project uses css modules and there are signs that the react team are against using css modules. Does this library support critical css when components import css like

import component/mystyle.css

Theoretically speaking, it should be possible to find out which components are rendered above the fold, and then resolve css imports from those components into critical path css.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36281242-support-for-critical-css-without-css-modules?utm_campaign=plugin&utm_content=tracker%2F26439769&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F26439769&utm_medium=issues&utm_source=github).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions