mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:04:11 +08:00
01107e418e
The main difference is that Sprockets 4.0 no longer tries to compile everything by default. This is good for us, because we can remove all our custom 'exclusion' logic which was working around the old sprockets 3.0 behavior. The other big change is that lambdas can no longer be added to the `config.assets.precompile` array. Instead, we can do the necessary globs ourselves, and add the desired files manually. A small patch is required to make ember-rails compatible. Since we plan to remove this dependency in the near future, I do not intend to upstream this change. I have compared the `bin/rake assets:precompile` output before and after this change, and verified that all files are present. |
||
---|---|---|
.. | ||
active_record_attribute_methods.rb | ||
active_record_postgresql_adapter.rb | ||
ams_include_without_root.rb | ||
better_handlebars_errors.rb | ||
copy_file.rb | ||
cose_rsapkcs1.rb | ||
ember_handlebars.rb | ||
ember_sprockets_4.rb | ||
fast_pluck.rb | ||
inflector_backport.rb | ||
ip_addr.rb | ||
pluck_first.rb | ||
rails_multisite.rb | ||
rails4.rb | ||
raw_handlebars.rb | ||
safe_buffer.rb | ||
safe_migrations.rb | ||
schema_migration_details.rb | ||
seed_fu.rb | ||
sprockets_patches.rb | ||
translate_accelerator.rb |