Skip to content
This repository was archived by the owner on Aug 3, 2023. It is now read-only.
This repository was archived by the owner on Aug 3, 2023. It is now read-only.

Add ability to identify, which of the module generation's dependency is not resolved #13

@narqo

Description

@narqo

In case

modules.define('a', function(provide) { provide() });
modules.define('a', ['b'], function(provide, b, a) { provide(a) });
modules.define('a', ['c'], function(provide, c) { provide(a) });

so if b is not resolved, the error stack would be:

Uncaught Error: Module "a": can't resolve dependence "b" <file>
  throwModuleNotFound <file>
  calcDeclDeps <file>
  onNextTick <file>
  callFns <file>
  onMessage

It would be cool to have an ability to understand, from what of a's generation error comes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions