Skip to main content

Function: packagedFileName()

packagedFileName(artifact): string

Defined in: Data/Core/FeaturePackTypes.ts:148

Name a packaged artifact carries inside the package.

Derived from the install path rather than declared separately, so a package cannot name one file and install it as another — and so there is only one path per artifact for isSafeArtifactPath to have to vet.

Parameters

artifact

gzipped?

boolean

path

string

Returns

string