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