assets.rb 661 B

12345678910111213141516
  1. # frozen_string_literal: true
  2. # Be sure to restart your server when you modify this file.
  3. # Version of your assets, change this if you want to expire all your assets.
  4. Rails.application.config.assets.version = '1.0'
  5. # Add additional assets to the asset load path.
  6. # Rails.application.config.assets.paths << Emoji.images_path
  7. # Add Yarn node_modules folder to the asset load path.
  8. Rails.application.config.assets.paths << Rails.root.join('node_modules')
  9. # Precompile additional assets.
  10. # application.js, application.css, and all non-JS/CSS in the app/assets
  11. # folder are already added.
  12. # Rails.application.config.assets.precompile += %w( admin.js admin.css )