You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
At the moment, pure-cjs generates anonymous AMD modules, event when "exports" is set.
The text was updated successfully, but these errors were encountered: