Ticket #1995 (closed enhancement: wontfix)
Allow adding "resource dependencies" for the build system
| Reported by: | jbondc | Owned by: | alex |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | BuildSystem | Version: | 0.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
This is just an example/proposal:
In src/widget/Spinner.js
dojo.provide("dojo.widget.Spinner");
dojo.require("..");
dojo.require_ressources([ "dojo:src/widget/templates/images/Spinner", "dojo:src/widget/templates/images/spinnerDecrement.gif", "dojo:src/widget/templates/images/spinner.*.gif", ]);
1st line: folder 2nd line: file 3rd line: allow regex matching?
This would allow the build system to only copy over the 'ressources' depencies specified...
Ideally, a minimalist build system that includes only dojo.js and a /src folder with the required files would kick ass. If there's a ticket for something like this already, please let me know.