Commit Graph

3 Commits

Author SHA1 Message Date
Ben Newman
218a4432b1 Support module.import(id, setters) and module.export(id, getters). 2016-05-19 17:04:09 -04:00
Ben Newman
b3a83bd118 Install reliable stubs for all Package[name] objects.
If a Meteor package had a file called index.js, the runtime module system
would resolve "meteor/<name>" to "/node_modules/meteor/<name>/index.js",
instead of falling back to Package[<name>] as expected.

Installing a stub for Package[<name>] at /node_modules/meteor/<name>.js
means the runtime module system no longer needs the fallback, and will no
longer be confused by index.js files.

Fixes #6590.
2016-04-07 13:05:52 -04:00
Ben Newman
3ff259f528 Export Buffer and process from modules instead of meteor-env-{dev,prod}. 2016-02-19 20:06:04 -05:00