-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
CSS Splitter works like a charm for me in development, but I can't get it to work at all in production with asset pre-compilation.
When running rake assets:precompile I end up with a file named application-web_split2.css-<fingerprint>.split2 Instead of the expected application-web_split2.css that I get when running in development.
It would seem that the .split2 is not run through the css_splitter template handler, because it contains the full content of the original css file. I guess that would also explain why the file ending is still .split2 in the asset folder.
# precompilation settings in production.rb
assets_configuration.precompile += %w{ <other files> application-web.css application-web_split2.css }
# app/assets/stylesheets/application-web_split2.css.split2
//= include 'application-web.css'
# app/assets/stylesheets/application-web.css.scss
# <way, way to much stuff>Let me know if I can help out with more information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels