]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
added info about asset pipline config 4110/head
authorThilo Utke <thilo@upstre.am>
Thu, 9 Jan 2014 17:06:06 +0000 (18:06 +0100)
committerThilo Utke <thilo@upstre.am>
Thu, 9 Jan 2014 17:06:06 +0000 (18:06 +0100)
Ammnded the documentation. In order to have modernizer available on production you have to add it to the precompile config to avoid issue #3672. Solution by @btsai

doc/pages/applications.html

index a537b26469ea7623308d47544513dc24766dd81f..54d375c0b39b3d60b2e98aab44e955b58454ffce 100644 (file)
@@ -49,6 +49,13 @@ Append the following lines to your `app/assets/javascripts/application.js` file:
 //= require foundation
 $(document).foundation();
 ```
+### Configure Asset pipeline
+
+Add Modernizr to precompiled assets for production in `config/enviroments/production.rb`.
+
+```ruby
+config.assets.precompile += %w( vendor/modernizr.js )
+```
 
 ### Add Modernizr