You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to use html-minifier via CLI, but I hit a wall.
The GitHub page doesn't have a manual or any example.
The only way I could gather some info was by running html-minifier --help or by browsing different blog posts.
I was trying to minify some .html files in a directory and the html-minifier tries to minify the .htaccess file.
It would be nice to have an input parameter to point to the .html files.
I've been trying to use
html-minifier
via CLI, but I hit a wall.The GitHub page doesn't have a manual or any example.
The only way I could gather some info was by running
html-minifier --help
or by browsing different blog posts.I was trying to minify some
.html
files in a directory and thehtml-minifier
tries to minify the.htaccess
file.It would be nice to have an input parameter to point to the
.html
files.The command I ran was:
npx html-minifier --input-dir ./public/ --output-dir ./public2
The error was:
The text was updated successfully, but these errors were encountered: