Commit Graph

4 Commits

Author SHA1 Message Date
Ben Newman
f8db29ab32 Stop trapping exceptions thrown by require("meteor-node-stubs"). 2017-02-07 10:45:22 -05:00
Ben Newman
11f136228e Revert dynamic meteor-node-stubs import.
Importing meteor-node-stubs in a statically analyzable way is important to
ensure all the aliases for built-in Node modules get set up properly. This
does *not* mean that all meteor-node-stubs/defs/* modules will be imported
unconditionally.

Part of #6562.
2016-03-23 19:57:10 -04:00
Ben Newman
11cbd89e1b Print helpful warnings about unresolved modules. 2016-03-23 18:55:24 -04:00
Ben Newman
2fa65685d6 Install stubs for Node built-in modules automatically.
The implementation of these stubs is controlled by an optional npm package
called meteor-node-stubs, so we can keep iterating on them after releasing
Meteor 1.3, if we need to.

Fixes #6056.
2016-02-27 18:41:23 -05:00