In
|
PrecompiledAssets::Tasks.remove_unused |
we are deleting all assets, that are not part of the
manifest.js anymore.
IMHO we should support something like https://github.com/rails/propshaft/blob/e7cdbcd4aa9c9a390dade263bbd7c7cedc0c6442/lib/propshaft/railties/assets.rake#L17 && https://github.com/rails/propshaft/blob/e7cdbcd4aa9c9a390dade263bbd7c7cedc0c6442/lib/propshaft/processor.rb#L24 in propshaft. Then set :keep_assets, 2 in capistrano would work as expected again, and rolling release will keep older assets available.
Wdyt?
In
precompiled_assets/lib/precompiled_assets/tasks/assets.rake
Line 15 in d2a0fc5
manifest.jsanymore.IMHO we should support something like https://github.com/rails/propshaft/blob/e7cdbcd4aa9c9a390dade263bbd7c7cedc0c6442/lib/propshaft/railties/assets.rake#L17 && https://github.com/rails/propshaft/blob/e7cdbcd4aa9c9a390dade263bbd7c7cedc0c6442/lib/propshaft/processor.rb#L24 in propshaft. Then
set :keep_assets, 2in capistrano would work as expected again, and rolling release will keep older assets available.Wdyt?