mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
I recently noticed a bug whereby modules transferred from the application bundle to the modules bundle would lose their application-specific import extensions, since all modules installed in the modules bundle have only .js and .json as import extensions, matching default Node behavior. This commit fixes that bug by emitting one meteorInstall call per distinct meteorInstallOptions object. This logic would work if every module had a different meteorInstallOptions object, but in practice the modules bundle should end up with exactly two meteorInstall calls, because a single options object is shared among all modules from the same source batch.
modules
To run the tests, first install the npm dependencies, then run the app:
npm install
npm test # just does `meteor run`
then visit localhost:3000 in your browser.