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

Doesn't handle assets from gems (jekyll themes and plugins) #3

Open
sim642 opened this issue Dec 29, 2024 · 5 comments
Open

Doesn't handle assets from gems (jekyll themes and plugins) #3

sim642 opened this issue Dec 29, 2024 · 5 comments

Comments

@sim642
Copy link

sim642 commented Dec 29, 2024

As the README says, this is based on https://github.com/zroger/jekyll-less, which has been unmaintained for 10 years. Crucially, its architecture seems to be such that it doesn't correctly handle assets from gems (jekyll themes and plugins).

Whereas https://github.com/digitalsparky/jekyll-minifier seems to use different architecture that handles gem assets correctly. It might be useful to borrow the internals from there that don't make 10-year-old assumptions about how jekyll's static files seems to work.
Although digitalsparky/jekyll-minifier#62 might make the whole effort redundant as well.

@RobertoJBeltran
Copy link
Owner

Is there any reason you would personally prefer to use this project over the other one you linked?

@sim642
Copy link
Author

sim642 commented Jan 5, 2025

No, but https://github.com/alshedivat/al-folio switched to this. Personally I'm hoping for digitalsparky/jekyll-minifier#62, but until then this issue at least documents the limitation, even if it doesn't end up being fixed.

@RobertoJBeltran
Copy link
Owner

So you're a user of al-folio? Was this a public discussion? If so, could you link me to it?

@george-gca
Copy link
Contributor

george-gca commented Jan 8, 2025

Yes, we had discussed about switching to jekyll-terser or keep using jekyll-minifier. All discussion happened in alshedivat/al-folio#2571, and I even made a PR for both projects, as commented in alshedivat/al-folio#2571 (comment). Also we kept using an internal copy of this plugin in al-folio as I was waiting for a rubygem to be available, but we are switching to use the git repo in alshedivat/al-folio#2945.

@RobertoJBeltran
Copy link
Owner

Thank you @george-gca I'll be sure to review this.

@sim642 Let me know what specifications would constitute correct handling of assets from gems (jekyll themes and plugins) so I can properly assess this issue. Thanks for your help.

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