-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
posthtml-cli not working properly #326
Comments
@nauvalazhar Hi, I created an example in which everything works, clarify what exactly does not work for you |
@nauvalazhar You can freely clone this example https://github.com/posthtml-issues/posthtml-cli-issue-326, make changes to it that reproduce your error. Feel free |
@Scrum posthtml-cli/src/cfg-resolve.js Line 73 in 2447d87
I have verified the following. Input folder tree
Execute the following command in the current state.
As a result, nothing is output. --${ignoreSymbol}${normalizePath(path.join(path.resolve(root), file))}
++${ignoreSymbol}${normalizePath(file)} Do the same with
I got the correct output. Output folder tree
I tried to make a pull request, but the test failed, so I couldn't push it. 😅 |
@nauvalazhar @turusuke Thank you, I still managed to find the problem thanks to you. |
Also, pay attention to the correctness of the input files, they should not contain the folder specified in node lib/cli.js **/*.html -o outputDir --root inputDir -a |
Hi,
I use
posthtml-cli
, when I build like this:The command doesn't output any output and doesn't compile anything.
Here is the configuration:
And here is my package.json file:
And here's my folder structure:
Thank you for making this awesome tool!
The text was updated successfully, but these errors were encountered: