Skip to content

How would this be used in a gulp workflow? #4

@KingScooty

Description

@KingScooty

I'm keen to use this programatically and pair it with critical in a gulp workflow, but i have no idea where to start. Any chance you can add a snippet to the documentation?

I've also noticed that when passing 2 minified css files into cave, the output is an un-minified file - which is a little fiddly as it requires further processing.

cat .temp/production/assets/css/site.css | npm run cave .temp/production/assets/css/critical.css > main.css

(main.css is un-minified.)

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