jonbretman / amd-to-as6

Converts AMD modules into ES6 modules
165 stars 37 forks source link

What is the issue with named defines exactly? #25

Open jfrux opened 7 years ago

jfrux commented 7 years ago

Trying to convert the bbc TAL library to ES6 and it uses them. Do the names do much as far as code goes?

jonbretman commented 6 years ago

Hey Josh,

Sorry for the incredibly delayed response. No they don't do anything in an ES Module world so I thought the best thing to do would be to blow up as depending on how they are used it might cause issues.

madiyetov commented 6 years ago

Hey @jonbretman May be adding some flag for this will be useful. I have more than one hundred modules and I am regexing and replacing it all. What if just ignore modules names?