You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Update Gemfile to include your minifier of choice.
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.
The text was updated successfully, but these errors were encountered:
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:
Gemfile
to include your minifier of choice.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
andcssmin
for CSS, andweak
andjsmin
for JS. These are lightweight, pure Ruby, and have few/no other dependencies.The text was updated successfully, but these errors were encountered: