Opened 13 years ago

Closed 12 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 13 years ago by dylan

Milestone: 0.9
Summary: Allow adding "ressource depencies" for the build systemAllow adding "resource dependencies" for the build system

comment:2 Changed 12 years ago by Adam Peller

Milestone: 0.9

comment:3 Changed 12 years ago by James Burke

Milestone: 1.0
Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.