assets.rb 630 B

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