Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.0.2
-
Fix Version/s: 1.2
-
Labels:None
-
Environment:Grails 2.0.0.M2
Description
This is just an idea for a way to improve the DSL. Right now, you list all files you want for each bundle.
modules = {
common {
resource url:[dir:'css', file: 'file1.css']
resource url:[dir:'css', file: 'file2.css']
}
}
Would it be a good idea to support loading all files in a directory? Something like this?
modules = {
common {
resource url:[dir:'css', file: '*']
}
}
Let me know! Thanks, Bobby
We need to review this, I'm not sure in reality it will be that useful. You often need to add some extra attributes / id / no minify etc. info to some of the resources and not others.