mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Set $NODE_ENV appropriately (to 'development' in 'meteor run' and 'production' otherwise) so that connect doesn't send stack traces over the network in production.
13 lines
273 B
JavaScript
13 lines
273 B
JavaScript
Package.describe({
|
|
summary: "Serves a Meteor app over HTTP",
|
|
internal: true
|
|
});
|
|
|
|
Npm.depends({connect: "2.7.10",
|
|
useragent: "2.0.1"});
|
|
|
|
Package.on_use(function (api) {
|
|
api.use(['underscore'], 'server');
|
|
api.add_files('webapp_server.js', 'server');
|
|
});
|