Browse files

Add `stub` directive documentation in README

Ported from the method description added in 95ae9b7.
  • Loading branch information...
elia committed Feb 14, 2012
1 parent 98447c9 commit d4c60a1cb640b929c2a8fe611641ae2b7a2efd28
Showing with 7 additions and 0 deletions.
  1. +7 −0
@@ -336,6 +336,13 @@ source file before any subsequent `require` or `include` directives.
including it in the bundle. This is useful when you need to expire an
asset's cache in response to a change in another file.
+### The `stub` Directive ###
+`stub` *path* allows dependency to be excluded from the asset bundle.
+The *path* must be a valid asset and may or may not already be part
+of the bundle. Once stubbed, it is blacklisted andcan't be brought
+back by any other `require`.
# Development #
## Contributing ##

0 comments on commit d4c60a1

Please sign in to comment.