auchenberg / auchenberg/dependo

Specifying RequireJS config file on command line

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
483
Forks
44
PR merge metrics
No merged PRs in 30d

Description

How can I specify the RequireJS config file on the command line? I've seen this requireConfig option in the API, but it's not mentioned as a command line option. I attempted the following

dependo -f amd --requireConfig subdir/Config.js . >dependencies.html

in the directory under which all source exists, but that had no effect in limiting the dependencies to those rooted in the Config.js file.

-JM

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the dependo command-line entry point and compare its options with the API's requireConfig option. Reproduce the reported command using subdir/Config.js, then verify that the command limits the dependency graph to modules rooted in that configuration file.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.