Asset pipeline: Precompile non-standard manifests

Posted Over 11 years ago. Visible to the public.

By default, only application.js, application.css and all non-JS/CSS files are precompiled into public/assets.

If you have asset manifests in non-standard locations, declare them in your config/application.rb:

config.assets.precompile += ['application/all.css', 'result/all.css', 'application/all.js', 'result/all.js']

This way you can also precompile files that do not have any manifest.

Henning Koch
Last edit
Over 8 years ago
Deleted user #20
Keywords
ckeditor, config.js, custom
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2012-08-21 11:18)