Commit Graph

7 Commits

Author SHA1 Message Date
Ben Newman
34b0237364 Avoid api.export("process") in modules package.js.
Declaring a package-local variable called `process` in the `modules`
package causes uglify-js not to replace `process.env.NODE_ENV` with a
string literal value in any `node_modules` contained by the `modules`
package, which causes React Dev Tools to display a warning.
2017-08-14 22:32:19 -04:00
Ben Newman
7472916236 Remove underscore as a dependency from the modules package. 2017-06-01 20:46:39 -04:00
Ben Newman
40857bdaff Propagate meteorEnv subset of process.env from server to client.
Fixes #6399.
2016-03-08 19:37:57 -05:00
Ben Newman
efe53de492 Set process.platform to "browser" on the client. 2016-02-28 14:33:22 -05:00
Ben Newman
63e4e6c99c Make sure require("process") works on the server. 2016-02-28 14:03:01 -05:00
Ben Newman
cebe9e838e Provide a polyfill for process.nextTick.
Fixes #6167.
Fixes #6198.
Part of #6055.
2016-02-19 20:06:05 -05:00
Ben Newman
3ff259f528 Export Buffer and process from modules instead of meteor-env-{dev,prod}. 2016-02-19 20:06:04 -05:00