api.mainModule('client.js', 'client'); api.mainModule('server.js', 'server');
| Add-on | Purpose | Remove if... | | :--- | :--- | :--- | | autopublish | Auto-publishes all data | You want security (remove in production) | | insecure | Allows client DB writes | You want security (remove in production) | | standard-minifier-js | Minifies JS | You use a custom minifier | | ecmascript | ES2015+ support | You don't need modern JS (rare) | | webapp | Serves HTML/JS/CSS | You're not building a web UI | meteor add ons
import fs from 'fs'; For isomorphic packages (client + server), ensure they work without DOM/Browser APIs. These are included in meteor create but can be removed: For isomorphic packages (client + server)