Open
Description
https://github.com/amdjs/amdjs-api/blob/master/CommonConfig.md#config-
While reading through the CommonConfig file, I noticed that modules can have special configuration options set. What's the use case for this? Are developers actively using this feature now? I ask because I've never seen it used in production or any third-party AMD code I've come across.
My worry is that this feature makes the baseline configuration more convoluted and pollutes the Simplified CommonJS form.
If a module needs a configuration, why not expose a mechanism within the module itself to receive such configuration? Why is this a concern of the module loader? So many questions, is there a resource I can read to get more background on this feature?
Metadata
Metadata
Assignees
Labels
No labels