Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/package-extractor > PackageExtractor > getPackageIncludedFilesAsync

PackageExtractor.getPackageIncludedFilesAsync() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Get a list of files that would be included in a package created from the provided package root path.

Signature:

static getPackageIncludedFilesAsync(packageRootPath: string): Promise<string[]>;

Parameters

Parameter

Type

Description

packageRootPath

string

Returns:

Promise<string[]>