Skip to content
Myr

feat(ssg): mark old hook options as deprecated (#4331)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by 3w36zj6 · committed by GitHub · parent cd9629d · Browse files · 1 file+9 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−0 removed

  • other:+9 added−0 removed

1 file+9 added−0 removed

modified:src/helper/ssg/ssg.ts+9 added
166 unmodified lines
167}168169export interface ToSSGOptions {170 dir?: string171 /**172 * @deprecated Use plugins[].beforeRequestHook instead.173 */174 beforeRequestHook?: BeforeRequestHook | BeforeRequestHook[]175 /**176 * @deprecated Use plugins[].afterResponseHook instead.177 */178 afterResponseHook?: AfterResponseHook | AfterResponseHook[]179 /**180 * @deprecated Use plugins[].afterGenerateHook instead.181 */182 afterGenerateHook?: AfterGenerateHook | AfterGenerateHook[]183 concurrency?: number184 extensionMap?: Record<string, string>185 plugins?: SSGPlugin[]
273 unmodified lines