-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
At the moment, pure-cjs generates anonymous AMD modules, event when "exports" is set.
- However, global and amd type modules are not necessary references by the same identifier from foreign code. That is the reason we should add a new parameter like "amdId". Example:
- global: the module may be referenced as "$shortcut"
- amd: the same module may be referenced as "project-part"
- If "amdId" options is set, pure-cjs should use it as the first parameter in the "define( amdId, deps, factory )" statement
Metadata
Metadata
Assignees
Labels
No labels