meteor/meteor

Document main function

Open

#12,320 opened on Nov 24, 2022

 (7 comments) (2 reactions) (0 assignees)JavaScript (5,257 forks)batch import
Project:Docsgood first issuehacktoberfestidle

Repository metrics

Stars
 (44,781 stars)
PR merge metrics
 (Avg merge 9d 9h) (21 merged PRs in 30d)

Description

Every Meteor app has to have a main function. For most apps, the webapp package defines it. For apps that do not use the webapp package, they have to define it another way, but it currently isn't documented.

The relevant code is: https://github.com/meteor/meteor/blob/1e2346cd5a31a4044afad4049dd736f518d6ea76/tools/static-assets/server/boot.js#L452-L486

Contributor guide