Last active
August 29, 2015 14:28
-
-
Save Mehuge/750abc028531835aa238 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"imports": { | |
"resources": [ | |
/* all unitframe related resources from the cu-components module */ | |
{ resource: "cu-components/unitframe/images", dest: "images/unitframe" }, | |
{ resource: "cu-components/unitframe/styles", dest: "styles" }, | |
/* just the portrait resources required */ | |
{ resource: "cu-components/unitframe/portrait/images", dest: "images/unitframe/portrait" } | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"resources": { | |
"$base": "lib/classes", | |
"unitframe": { | |
"images": [ "lib/classes/unitframe/images/*.png" ], | |
"styles": [ "lib/classes/unitframe.css" ], | |
"portrait": { | |
"images": [ "lib/classes/unitframe/images/portrait/*.png" ], | |
"styles": [ "lib/classes/unitframe/portrait.css"] | |
}, | |
"$refs": [ "shared "] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think after the chat with csejb we just had, I think this whole gist is obsolete!!
Stock UIs won't need to copy resources, they will simply reference them from lib//...
Custom UIs can either reference the stock resources lib//... in the same way or provide their own.