2014-08-01 11:23:47 +02:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
|
|
|
# Version of your assets, change this if you want to expire all your assets.
|
|
|
|
Rails.application.config.assets.version = '1.0'
|
|
|
|
|
2022-01-12 02:24:38 +01:00
|
|
|
# Add additional assets to the asset load path.
|
2020-04-19 00:59:18 +02:00
|
|
|
# Rails.application.config.assets.paths << Emoji.images_path
|
|
|
|
|
2014-08-01 11:23:47 +02:00
|
|
|
# Precompile additional assets.
|
2022-01-12 02:24:38 +01:00
|
|
|
# application.js, application.css, and all non-JS/CSS in the app/assets
|
|
|
|
# folder are already added.
|
|
|
|
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
2023-01-03 12:30:30 +01:00
|
|
|
|
|
|
|
# Enable Rails to resolve url() asset paths to digested assets
|
|
|
|
Rails.application.config.assets.resolve_assets_in_css_urls = true
|
|
|
|
|
|
|
|
# Include node assets in asset loading
|
|
|
|
# This is IMPORTANT because in either environment (especially local) external assets
|
|
|
|
# will not be found/resolved otherwise
|
2023-01-03 16:15:39 +01:00
|
|
|
Rails.application.config.assets.paths << Rails.root.join("node_modules/@fortawesome/fontawesome-free/webfonts")
|
2023-01-03 12:30:30 +01:00
|
|
|
Rails.application.config.assets.paths << Rails.root.join("node_modules/@fontsource/lexend/files")
|