---
url: /api/tools/aggregate/src.md
---
[pantoken-root](../../../index.md) / aggregate

# aggregate

Beta

The aggregator for the unified `pantoken` meta package. It scans the meta package's dependencies
for the `pantoken` field, then generates the barrel (`export * as <key> from "<pkg>"`), one
subpath entry file per target, and the meta `package.json` `exports` map — so adding a new target
package with a `pantoken` field auto-registers it, with no manual barrel edits.

## Interfaces

* [Target](interfaces/Target.md)
* [AggregateOptions](interfaces/AggregateOptions.md)

## Functions

* [discoverTargets](functions/discoverTargets.md)
* [aggregate](functions/aggregate.md)
