I have a rails 4 application.
I have 3 sets of manifest files in order to seperate out logic for my app.
These files are
application.js
backoffice.js
pos.js
application.css
backoffice.css
pos.css
In my layout files, I reference these assets using the associated javascript_link_tags
I have added the following to my production.rb file (in order to include these files in the precompilation of assets):
config.assets.precompile += %w( backoffice.js pos.js pos.css backoffice.css )
I then run rake assets:precompile, but it is not picking up the additional files. It only compiles the application.js and application.css manifests.
In production.rb also, I have:
config.serve_static_assets = true
config.assets.compile = false
Anyone any ideas?
thanks