Skip to content

Script to insert the minimal CSS in your HTML #94

@peterbe

Description

@peterbe

First of all; minimalcss should be about generating that minimal CSS. That's the core and it's good to only have 1 core function.

I have my own hacky solutions (that work because the scope is tight) that change the HTML (e.g. build/index.html) so that it first loads the minimal CSS and then lazy loads in the CSS with JavaScript.
It would be nice to build such a script into the repo so it can be shared and improved on collectively.

Another option is to build this script into a separate repo and separate npmjs.com package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions