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

Adds the assets:clean[count] parameter #165

Merged
merged 1 commit into from
Nov 12, 2023
Merged

Conversation

codergeek121
Copy link
Contributor

Sprockets supported the parameterized clean Rake task, to keep the :count latest assets versions. IIRC webpacker supported it as well.

If you deployed with Capistrano, this was configurable via the :keep_assets config.

This PR adds this to propshaft's clean task as well instead of the hardcoded 2.

@brenogazzola brenogazzola merged commit 0237135 into rails:main Nov 12, 2023
4 checks passed
@codergeek121
Copy link
Contributor Author

Thank you :)

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

Successfully merging this pull request may close these issues.

2 participants