ng-packagr
Version:
Compile and package Angular libraries in Angular Package Format (APF)
50 lines (49 loc) • 2 kB
TypeScript
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/**
* JSON Schema for secondary entrypoint `ng-package.json` description file
*/
export interface NgPackageEntryConfig {
$schema?: string;
/**
* Description of the library's entry point.
*/
lib?: {
/**
* Entry file to the public API (default: `src/public_api.ts`).
*/
entryFile?: string;
/**
* Filename of the auto-generated flat module file (if empty, defaults to the package name as given in `package.json`).
*/
flatModuleFile?: string;
/**
* Embed assets in css file using data URIs - see https://css-tricks.com/data-uris
*/
cssUrl?: "none" | "inline";
/**
* Any additional paths that should be used to resolve style imports
*/
styleIncludePaths?: string[];
/**
* Options to pass to the sass preprocessor.
*/
sass?: {
/**
* A set of deprecations to treat as fatal. If a deprecation warning of any provided type is encountered during compilation, the compiler will error instead. If a Version is provided, then all deprecations that were active in that compiler version will be treated as fatal.
*/
fatalDeprecations?: string[];
/**
* A set of active deprecations to ignore. If a deprecation warning of any provided type is encountered during compilation, the compiler will ignore it instead.
*/
silenceDeprecations?: string[];
/**
* A set of future deprecations to opt into early. Future deprecations passed here will be treated as active by the compiler, emitting warnings as necessary.
*/
futureDeprecations?: string[];
};
};
}