Skip to content
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

Progress indicator for input dir #96

Open
gauntface opened this issue Nov 14, 2021 · 2 comments
Open

Progress indicator for input dir #96

gauntface opened this issue Nov 14, 2021 · 2 comments

Comments

@gauntface
Copy link

Would the project be open to a PR to add a progress bar to the CLI to show progress through the set of HTML files to minify?

Running on a static site can take considerable time and a progress bar would help affirm that work is on-going and the tool hasn't frozen.

@sibiraj-s
Copy link
Collaborator

Might be a good addition I guess. can be enabled with --progress options when working with directories.

Do we need to add a npm dependency for that or we can show a simple message like

Minifying ${filename}. {noOfFiles} completed of total ${totalFiles}

which can be done with few lines of code. 🤔

@DanielRuf
Copy link
Contributor

which can be done with few lines of code.

Less dependencies is better. An option makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants