remove unused precompiled JS files

This commit is contained in:
Benjamin Neff 2016-09-19 02:52:15 +02:00 committed by Steffen van Bergerem
parent fccabf9983
commit be33b425ba
No known key found for this signature in database
GPG key ID: 315C9787D548DC6B

View file

@ -65,29 +65,24 @@ module Diaspora
config.assets.initialize_on_precompile = false config.assets.initialize_on_precompile = false
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w{ config.assets.precompile += %w(
aspect-contacts.js
contact-list.js contact-list.js
ie.js ie.js
inbox.js inbox.js
jquery2.js jquery2.js
jquery_ujs.js jquery_ujs.js
jquery-textchange.js
main.js main.js
jsxc.js jsxc.js
mobile/bookmarklet.js mobile/bookmarklet.js
mobile/mobile.js mobile/mobile.js
people.js
publisher.js
templates.js templates.js
validation.js
error_pages.css error_pages.css
admin.css admin.css
rtl.css rtl.css
color_themes/*/desktop.css color_themes/*/desktop.css
color_themes/*/mobile.css color_themes/*/mobile.css
} )
# Version of your assets, change this if you want to expire all your assets # Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0' config.assets.version = '1.0'