We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3539922 + ea351f0 commit fee7de5Copy full SHA for fee7de5
railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt
@@ -5,8 +5,10 @@ Rails.application.config.assets.version = "1.0"
5
6
# Add additional assets to the asset load path.
7
# Rails.application.config.assets.paths << Emoji.images_path
8
+<% if options[:asset_pipeline] == "sprockets" -%>
9
10
# Precompile additional assets.
11
# application.js, application.css, and all non-JS/CSS in the app/assets
12
# folder are already added.
13
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
14
+<% end -%>
0 commit comments