コンテンツにスキップ

ImgProcContext

このコンテンツはまだ日本語訳がありません。

Global context

Properties

componentProps

componentProps: Omit<ImgProcProcessorOptions, "formatOptions">

Default component properties

Defined in

src/types.ts:757


db

db: ImgProcDataAdapter

Cache database (separated from settings)

Defined in

src/types.ts:751


dirs

dirs: ImgProcContextDirectories

Directories

Defined in

src/types.ts:754


env?

optional env: ConfigEnv

Defined in

src/types.ts:767


formatOptions

formatOptions: ImgProcFormatOptions

Default format options

Defined in

src/types.ts:759


logger?

optional logger: AstroIntegrationLogger

Logger from Astro

Defined in

src/types.ts:764


pluginContext?

optional pluginContext: PluginContext

Defined in

src/types.ts:770


resolvedConfig?

optional resolvedConfig: Readonly<Omit<UserConfig, "plugins" | "css" | "assetsInclude" | "optimizeDeps" | "worker" | "build"> & object & PluginHookUtils>

Defined in

src/types.ts:768


server?

optional server: ViteDevServer

Defined in

src/types.ts:769


settings

settings: Omit<ImgProcSettings, "dataAdapter">

Processor general settings

Defined in

src/types.ts:761