Merge pull request #5915 from tchak/cleanup-assets
Remove unused paths from assets pipeline
This commit is contained in:
commit
79bcd28065
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