# Extension points — meteor/meteor

> Canonical page: https://codevetter.com/unpack/meteor/extension-points

# Extension points — meteor/meteor

Scanned commit ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e (2026-09-22). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Meteor exposes extension mechanisms at both build time and application runtime. CLI commands and source processors use explicit registries, while applications add packages, methods, publications, HTTP middleware, and authentication handlers. Collection driver selection and Rspack configuration provide additional implementation seams.
- New CLI commands plug into main.registerCommand, which supports hierarchical names, rejects duplicates, and requires a catalogRefresh strategy. — [tools/cli/main.js#L240-272](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/tools/cli/main.js#L240-L272)
- Package manifests declare build plugins and client/server modules through Package.registerBuildPlugin and Package.onUse; Package.onTest separately wires package-specific tests. — [packages/ecmascript/package.js#L13-47](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/ecmascript/package.js#L13-L47) [packages/rspack/package.js#L6-36](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/rspack/package.js#L6-L36)
- Plugin.registerCompiler and registerLinter add factories to dedicated source-processor sets and associate registration with explicit Isobuild feature packages. — [tools/isobuild/isopack.js#L701-706](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/tools/isobuild/isopack.js#L701-L706) [tools/isobuild/isopack.js#L749-754](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/tools/isobuild/isopack.js#L749-L754)
- Plugin.registerMinifier accepts only js/css extensions, rejects filename-based registration, and registers its factory in the minifier source-processor set. — [tools/isobuild/isopack.js#L801-820](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/tools/isobuild/isopack.js#L801-L820)
- DDP methods register function-valued handlers with duplicate-name rejection; publications register named handlers or universal handlers, and publication results support synchronous values or promises. — [packages/ddp-server/livedata_server.js#L1708-1716](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/ddp-server/livedata_server.js#L1708-L1716) [packages/ddp-server/livedata_server.js#L1637-1640](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/ddp-server/livedata_server.js#L1637-L1640) [packages/ddp-server/livedata_server.js#L1014-1026](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/ddp-server/livedata_server.js#L1014-L1026)
- Accounts.registerLoginHandler appends wrapped named handlers, _runLoginHandlers tries them until one handles the request, and _attemptLogin invokes validation before creating the logged-in session. — [packages/accounts-base/accounts_server.js#L627-675](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/accounts-base/accounts_server.js#L627-L675) [packages/accounts-base/accounts_server.js#L524-554](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/accounts-base/accounts_server.js#L524-L554)
- WebApp exposes handlers/rawHandlers aliases, its Express app and HTTP server, onListening callbacks, and an overridable startListening function for custom listening behavior. — [packages/webapp/webapp_server.js#L1460-1485](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/webapp/webapp_server.js#L1460-L1485)
- Collection setup accepts custom connection/driver choices, otherwise selects server Mongo or LocalCollectionDriver; Rspack's config resolver recognizes js, ts, mjs, and cjs in precedence order. — [packages/mongo/collection/collection_utils.js#L16-34](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/mongo/collection/collection_utils.js#L16-L34) [packages/rspack/lib/processes.js#L181-209](https://github.com/meteor/meteor/blob/ac3f471f4af5c8aec737e20ccd168bfc7cc1a49e/packages/rspack/lib/processes.js#L181-L209)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
