mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Ensure css is precompiled, reformat configs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
'comfortable_mexican_sofa/jquery_ui',
|
||||
'comfortable_mexican_sofa/dialogs',
|
||||
'comfortable_mexican_sofa/widgets',
|
||||
'shared/restore_spree_from_cms'
|
||||
'admin/restore_spree_from_cms'
|
||||
|
||||
= javascript_include_tag('comfortable_mexican_sofa/application')
|
||||
|
||||
|
||||
@@ -76,6 +76,10 @@ module Openfoodnetwork
|
||||
config.assets.version = '1.0'
|
||||
|
||||
config.assets.initialize_on_precompile = true
|
||||
config.assets.precompile += ['store/all.css', 'store/all.js', 'store/shop_front.js', 'admin/all.css', 'admin/*.js', 'admin/**/*.js', 'comfortable_mexican_sofa/*', 'search/all.css', 'search/*.js']
|
||||
config.assets.precompile += ['store/all.css', 'store/all.js', 'store/shop_front.js']
|
||||
config.assets.precompile += ['admin/all.css', 'admin/*.js', 'admin/**/*.js']
|
||||
config.assets.precompile += ['comfortable_mexican_sofa/*']
|
||||
config.assets.precompile += ['search/all.css', 'search/*.js']
|
||||
config.assets.precompile += ['shared/*']
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user