Remove unused paths from assets pipeline
This commit is contained in:
parent
95718a3b23
commit
7223d77058
1 changed files with 1 additions and 2 deletions
|
@ -5,11 +5,10 @@ Rails.application.config.assets.version = '1.0'
|
|||
|
||||
# Add additional assets to the asset load path
|
||||
Rails.application.config.assets.paths << Rails.root.join('node_modules', 'trix', 'dist')
|
||||
Rails.application.config.assets.paths << Rails.root.join('node_modules', 'select2', 'dist', 'css')
|
||||
Rails.application.config.assets.paths << Rails.root.join('node_modules', 'mapbox-gl', 'dist')
|
||||
Rails.application.config.assets.paths << Rails.root.join('node_modules', '@reach', 'combobox')
|
||||
Rails.application.config.assets.paths << Rails.root.join('node_modules', '@mapbox', 'mapbox-gl-draw', 'dist')
|
||||
|
||||
# Precompile additional assets.
|
||||
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
||||
Rails.application.config.assets.precompile += ['print.css', 'new_design/new_application.css', 'new_design/print.css', 'new_design/application.js', 'new_design/manager.css']
|
||||
Rails.application.config.assets.precompile += ['print.css']
|
||||
|
|
Loading…
Reference in a new issue