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

Add support for more CSS/JS minifers #19

Open
rondevera opened this issue Aug 8, 2011 · 0 comments
Open

Add support for more CSS/JS minifers #19

rondevera opened this issue Aug 8, 2011 · 0 comments
Assignees
Milestone

Comments

@rondevera
Copy link
Collaborator

To keep the AssetHat gem lightweight, this should not just add gem dependencies for various other minifiers -- this would make installation very slow.

As we chatted about, the setup process in a host app should instead be:

  1. Update Gemfile to include your minifier of choice.
  2. Update assets.yml to use the AssetHat engine for that minifier.

In this way, an "AssetHat engine" is essentially an adapter -- it provides a universal interface for using any minifier. AssetHat would contain a bunch of engines out of the box, and to use one, just add the corresponding minifier to your Gemfile.

Out of the box, AssetHat should still support weak and cssmin for CSS, and weak and jsmin for JS. These are lightweight, pure Ruby, and have few/no other dependencies.

@ghost ghost assigned edds Aug 8, 2011
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