본문으로 건너뛰기
버전: 9.x

pnpm-workspace.yaml

pnpm-workspace.yaml defines the root of the workspace and enables you to include / exclude directories from the workspace. 기본적으로 모든 하위 디렉토리의 모든 패키지가 포함됩니다.

For example:

pnpm-workspace.yaml
packages:
# all packages in direct subdirs of packages/
- 'packages/*'
# all packages in subdirs of components/
- 'components/**'
# exclude packages that are inside test directories
- '!**/test/**'

루트 패키지는 사용자 지정 위치 와일드카드가 사용되는 경우에도 항상 포함됩니다.