Skip to content

question(documentation): how to run Beasties recursively for all HTML files of the project? #147

@Kristinita

Description

@Kristinita

1. Summary

It would be nice if Beasties documentation will contain information how users that not use Vite and Webpack can run Beasties for all HTML files of the project.

For example, I have a static site with HTML files. Glob template for my HTML files is output/**/*.html. What I need to do to running Beasties for all HTML files of my static site?

2. Not helped

  1. It would be nice if Beasties will have command-line interface with supporting glob templates and passing Beasties properties as command-line arguments. Example command:

    beasties --noscriptFallback --src "output/**/*.html"

    But Beasties unfortunately haven’t command-line interface.

  2. Critical has the Grunt plugin. I run Critical for all HTML files of my site use Grunt files object:

    files: [
    	cwd: "."
    	dest: "."
    	expand: true
    	src: ["output/**/*.html"]
    ]

    But Beasties unfortunately haven’t a Grunt plugin.

  3. I can’t find answers to my question in Beasties and Critters repositories.

Thanks.

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