-
-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
I tried 0.7.3 and the cli doesn't work yet. Here is how I use it:
posthtml "some/inputFolder/**/*.html" "!**/some/outFolder/**" -r some/inputFolder -a -o some/outFolder
(notice the glob patterns are quoted so that the shell doesn't expand them).
In order for fast-glob to grab those files you shouldn't resolve the path to absolute - you should remove the following line
posthtml-cli/src/cfg-resolve.js
Line 32 in 4616152
| .map(file => path.join(path.resolve(root), file)); |
Originally posted by @giuseppeg in #313 (comment)