Opened 14 years ago
Closed 13 years ago
#1995 closed enhancement (wontfix)
Allow adding "resource dependencies" for the build system
Reported by: | Jonathan Bond-Caron | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | BuildSystem | Version: | 0.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
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.
Change History (3)
comment:1 Changed 14 years ago by
Milestone: | → 0.9 |
---|---|
Summary: | Allow adding "ressource depencies" for the build system → Allow adding "resource dependencies" for the build system |
comment:2 Changed 14 years ago by
Milestone: | 0.9 |
---|
comment:3 Changed 13 years ago by
Milestone: | → 1.0 |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Closing this out as wontfix in favor of jbondc's other ticket about having the build system have the smarts to do a generalized "minimalist" build.