---
url: /reference/api/TypeAlias.PackageType.md
---
# Type Alias: PackageType

```ts
type PackageType = 'module' | 'commonjs' | undefined
```

Defined in: [src/utils/package.ts:26](https://github.com/rolldown/tsdown/blob/febf6567b2932558ba18aed4c5f36aefc896e642/src/utils/package.ts#L26)
