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

[Bug]: Cannot run purgecss command line without a config file #1318

Open
1 task done
crustamet opened this issue Jan 17, 2025 · 0 comments
Open
1 task done

[Bug]: Cannot run purgecss command line without a config file #1318

crustamet opened this issue Jan 17, 2025 · 0 comments
Labels

Comments

@crustamet
Copy link

crustamet commented Jan 17, 2025

Describe the bug

Cannot run purgecss without a config file

purgecss $cssAsset -content $htmlFile -o /var/www/html

returning error "Error loading the config file Cannot find module"

For sure it returns this error because I don't have one, and it shouldn't need one.

If this is a bug please write the requirements of how to use the command line

because there is nothing explaining that this needs a config file and for sure it should not need one.

To Reproduce

purgecss /var/www/html/asset.css -content /var/www/html/index.html -o /var/www/html

Expected Behavior

it should purge the css into the output folder

Environment

Ubuntu 22 with nodejs 22

Add any other context about the problem here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@crustamet crustamet added the bug label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant