Where should I configure grails.assets.excludes for the Grails asset pipeline?
According to http://bertramdev.imtqy.com/asset-pipeline/guide/configuration.html you can include or exclude files for Asset Pipeline.
However, he does not indicate where to add it. for example Do we put it in Config.groovy?
It seems I never work with the code below:
index.gsp
<asset:stylesheet src="application.css" />
application.css
*= require_tree ../stylesheets
test.css (located in the assets / stylesheets / testing.css section):
body { background: green; }
Config.groovy (I assume this is the place to add configuration):
grails.assets.excludes = ["**/testing.css"]
Everything else works separately from one problem: it never excludes test.css.
- ? BuildConfig.groovy, .
:
- Grails 2.4.2
- compile ": resource-pipe: 1.8.11"