-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathassets.rb
20 lines (16 loc) · 887 Bytes
/
assets.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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'
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
# Add Yarn node_modules folder to the asset load path.
Rails.application.config.assets.paths << Rails.root.join('node_modules')
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
Rails.application.config.assets.precompile += %w(manifest.js *.svg *.eot *.woff *.ttf)
# Fixes error thrown when calling `assets:precompile` in Dockerized environment
# See https://github.com/broadinstitute/single_cell_portal_core/pull/1109.
Rails.application.config.assets.configure do |env|
env.export_concurrent = false
end