2016-08-16 04:53:41 +09:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
2022-02-05 23:41:35 +09:00
|
|
|
# sourcemap for css and non-esbuild javascripts
|
|
|
|
Rails.application.config.assets.debug = true
|
|
|
|
|
2016-08-16 04:53:41 +09:00
|
|
|
# Version of your assets, change this if you want to expire all your assets.
|
2022-02-05 23:41:35 +09:00
|
|
|
# set to nil so the hash is predictable (for sourcemap generated by esbuild)
|
|
|
|
Rails.application.config.assets.version = nil
|
2016-08-16 04:53:41 +09:00
|
|
|
|
2018-05-05 13:55:42 +09:00
|
|
|
# Add additional assets to the asset load path.
|
2016-08-16 04:53:41 +09:00
|
|
|
# Rails.application.config.assets.paths << Emoji.images_path
|
2022-01-15 01:49:06 +09:00
|
|
|
|
2018-05-05 13:55:42 +09:00
|
|
|
# Add Yarn node_modules folder to the asset load path.
|
2024-01-08 19:39:01 +09:00
|
|
|
Rails.application.config.assets.paths << Rails.root.join("node_modules")
|
2016-08-16 04:53:41 +09:00
|
|
|
|
|
|
|
# Precompile additional assets.
|
2018-05-05 13:55:42 +09:00
|
|
|
# application.js, application.css, and all non-JS/CSS in the app/assets
|
|
|
|
# folder are already added.
|
2024-09-01 05:00:14 +09:00
|
|
|
# Rails.application.config.assets.precompile += %w[ admin.js admin.css ]
|