Hacker News new | ask | show | jobs
by mquandalle 3930 days ago
Using global variables isn’t even the worst part. The big problem with this sharing model is that files are loaded in the alphabetical order, thus the only way to control that file a requires file b as a dependency is to give to b a file name that is before a in the alphabet (this is not true for Meteor packages where we can control the file order).

Thankfully MDG plan to address this issue soon.

2 comments

I agree, but this is why I was very excited when I found this skeleton project. https://github.com/jedwards1211/meteor-webpack-react It should give you the modules and full es2015 you're looking for.
Yeah, good to know.