Skip to content

minify with yui-compressor, tester in propshaft

License

Notifications You must be signed in to change notification settings

newsdict/assets-minify-rails

Repository files navigation

Assets::Minify::Rails

release license

Installation

Add this line to your application's Gemfile:

gem 'assets-minify-rails'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install asset-minify-rails

Usage

When you do asset:precompile, minify runs automatically. Note that this will overwrite the existing path. The following tasks can also be done independently.

$ rails assets_minify:compress

Development

This gem minifies js, css files under Rails.application.config.output_path.

Support engines

engine extension Rails::Application.config.js_compressor Rails::Application.config.css_compressor
terser .js terser -
yui .css, .js yui, yui_compressor yui, yui_compressor
postcss .css - postcss

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/newsdict/assets-minify-rails.

License

The gem is available as open source under the terms of the MIT License.

About

minify with yui-compressor, tester in propshaft

Resources

License

Stars

Watchers

Forks

Packages

No packages published