Opened 9 years ago
Closed 9 years ago
#15367 closed enhancement (fixed)
Declarative Builder Transform
Reported by: | Kitson Kelly | Owned by: | Kitson Kelly |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8 |
Component: | BuildSystem | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The builder should be able to identify and build into layers both auto-require and declarative require dependencies in resources. For example an appropriately tagged HTML resources should be scanned for dependencies, like
<div data-dojo-type="dijit/form/Button"></div> <script type="dojo/require"> "on": "dojo/on" </script>
Should add dijit/form/Button
and dojo/on
to the dependency chain for either the dojo/dojo
layer or another layer specifically identified.
Attachments (3)
Change History (7)
comment:1 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|---|
Owner: | changed from Rawld Gill to Kitson Kelly |
Priority: | undecided → high |
Status: | new → assigned |
Changed 9 years ago by
Attachment: | declarativeDeps.patch added |
---|
comment:2 Changed 9 years ago by
Ok, revised patch to be easier.
If any resources are tagged as declarative, they will be scanned for declarative dependencies and they will be added to dojo/dojo
, unless there is a layer that is flagged as declarativeIncludes: true
and that layer will be used instead.
comment:3 Changed 9 years ago by
Priority: | high → blocker |
---|
Working patch...