Skip to content

Add support for deps config property #152

Open

Description

@rorticus

The dojo1 loader supported the deps/callback property in the config, http://dojotoolkit.org/reference-guide/1.10/loader/amd.html#loader-amd .

This property would cause the loader to require deps modules after it's loaded.

Activity

  1. added this to the long-grass milestone on Nov 29, 2017
  2. kitsonk commented on Nov 29, 2017

    @kitsonk
    Member

    I would be reticent to introduce anything that isn't covered by the Common AMD Configuration. If this doesn't satisfy it, I would say we should consider how RequireJS accomplishes it before actually looking at behaviour of the Dojo 1 loader.

    What use case is driving this need?

  3. matt-gadd commented on Feb 15, 2018

    @matt-gadd
    Contributor

    @kitsonk requirejs supports both deps and a callback, these are both useful for pre-setup dependencies

  4. kitsonk commented on Feb 16, 2018

    @kitsonk
    Member

    if requirejs supports them, I would say they are part of the psuedo standard then and I guess it gives it an ability to turn the require API signature into a single options bag... I wonder why it wasn't part of the common config as it seems to make to make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions