3 ms·
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
by mquandalle 11y 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.
- gmaster1440 11y agoYeah, good to know.
- rralian 11y agoI agree, but this is why I was very excited when I found this skeleton project. https://github.com/jedwards1211/meteor-webpack-react https://github.com/jedwards1211/meteor-webpack-react It should give you the modules and full es2015 you're looking for.