/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
declarations/plugins/ManifestPlugin.d.ts
72 строки
2 KB
Alexander Akait
refactor: improve types coverage (#20402)
04 фев 2026, 15:32
Не верифицирован
04 фев 2026, 15:32
97decb4
Код
Авторство
О чём код?
/* * This file was automatically generated. * DO NOT MODIFY BY HAND. * Run `yarn fix:special` to update */ export interface ManifestPluginOptions { /** * Enables/disables generation of the entrypoints manifest section. */ entrypoints?: boolean; /** * Specifies the filename of the output file on disk. By default the plugin will emit `manifest.json` inside the 'output.path' directory. */ filename?: string; /** * Allows filtering the files which make up the manifest. */ filter?: import("../../lib/ManifestPlugin").Filter; /** * A function that receives the manifest object, modifies it, and returns the modified manifest. */ generate?: import("../../lib/ManifestPlugin").Generate; /** * Specifies a path prefix for all keys in the manifest. */ prefix?: string; /** * A function that receives the manifest object and returns the manifest string. */ serialize?: import("../../lib/ManifestPlugin").Serialize; } /** * Describes a manifest entrypoint. */ export interface ManifestEntrypoint { /** * Contains the names of entrypoints. */ imports: string[]; /** * Contains the names of parent entrypoints. */ parents?: string[]; } /** * Describes a manifest asset that links the emitted path to the producing asset. */ export interface ManifestItem { /** * The path absolute URL (this indicates that the path is absolute from the server's root directory) to file. */ file: string; /** * The source path relative to the context. */ src?: string; } /** * The manifest object. */ export interface ManifestObject { /** * Contains the names of assets. */ assets: Record<string, ManifestItem>; /** * Contains the names of entrypoints. */ entrypoints: Record<string, ManifestEntrypoint>; [k: string]: any; }