metamaps--metamaps/config/initializers/assets.rb

16 lines
611 B
Ruby
Raw Normal View History

2016-09-24 03:00:46 +00:00
# frozen_string_literal: true
2016-10-02 02:53:35 +00:00
Rails.application.configure do
# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '2.0'
config.assets.quiet = true
2016-10-02 02:53:35 +00:00
# Add additional assets to the asset load path
# Rails.application.config.assets.paths << Emoji.images_path
2016-10-02 02:53:35 +00:00
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
config.assets.precompile += %w(webpacked/metamaps.bundle.js)
2016-11-06 01:12:00 +00:00
config.assets.precompile += %w(webpacked/homepage.js)
config.assets.precompile += %w(home.css)
2016-10-02 02:53:35 +00:00
end