Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/webpack-embedded-dependencies-plugin > LicenseFileName

LicenseFileName type

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.

Loose string type that represents the name of the generated license file.

Signature:

export type LicenseFileName = `${string}.${'html' | 'md' | 'txt'}`;

Example

const licenseFileName: LicenseFileName = 'custom-license-file-name.html';
const licenseMarkdownFileName: LicenseFileName = 'custom-license-file-name.md';
const licenseTextFileName: LicenseFileName = 'custom-license-file-name.txt';