Skip to content

add dir/glob support, file watching, auto-load for plugins #36

@michael-ciniawsky

Description

@michael-ciniawsky

hey, are there any plans to support the following ?

glob patterns

posthtml -i *.html -o [name].html

file watching

posthtml -i  *.html -o [name].html  -w|--watch

auto-load plugins directly from pkg.json, like posthtml-load-plugins and then specify the plugins options in the pkg.json as well

posthtml -i *.html -o [name].html -w (if  !-c|--config flag => auto-load plugins && options)
"dependencies": {
  "posthtml-bem":  "0.0.1"
},
posthtml: {
  "bem":  "options..."
}

Are PR's welcome to this project, i could implement this stuff if accepted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions