lib/classy_assets/tasks.rb in classy_assets-0.8.1 vs lib/classy_assets/tasks.rb in classy_assets-0.8.2
- old
+ new
@@ -10,9 +10,10 @@
task "assets:precompile" => [:assets]
end
end
Rake::ClassyAssetsTask.new do |t|
+ ClassyAssets.config.asset_compress = true
t.environment = ClassyAssets.sprockets
t.output = ClassyAssets.config.asset_precompile_folder
t.assets = ClassyAssets.config.asset_precompile_files
t.define_precompile
end