SitePen / dojo-amd-converter

A legacy dojo to AMD conversion utility.
Other
11 stars 5 forks source link

Allow mapping local names #31

Open rmaccracken opened 11 years ago

rmaccracken commented 11 years ago

There are cases in Dojo where the local variable name normally used for a module is not the same as the filename, so it would be good to allow a way to configure such names. Some examples are:

dojo/dom-class -> domClass dojo/window -> winUtils

And just to make sure, this should apply equally well to non-Dojo modules.