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

Consider replacing sprockets with propshaft #505

Open
eoinkelly opened this issue Oct 15, 2023 · 2 comments
Open

Consider replacing sprockets with propshaft #505

eoinkelly opened this issue Oct 15, 2023 · 2 comments

Comments

@eoinkelly
Copy link
Contributor

propshaft is a lighter and more modern replacement for sprockets.

The case for making this change

We use shakapacker for all CSS and JS processing so this should just be a drop-in replacement. There is nothing currently broken about sprockets but it seems like propshaft is the future so we should nudge devs away from relying on any of the features it provides that propshaft does not.

I tried this on a client project and it seemed to be as simple as just replacing the sprockets gem with propshaft.

The case against making this change

The official rails assets guide still uses sprockets so using propshaft might cause some confusion.

@lukeify
Copy link

lukeify commented Oct 19, 2023

Investigate whether either of these are needed. This is low priority for now.

@lukeify
Copy link

lukeify commented Nov 2, 2023

We have discussed removing sprockets entirely without a replacement in #508.

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

2 participants