---
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/ab9a9e4097963da44b41c59f8a7490e275dccda5/src/utils/package.ts#L26)
