output.ssgByEntries
- Type:
Record<string, boolean | object> - Default Value:
undefined
Configure SSG per entry for multi-entry applications.
Info
- Use
output.ssgfor single-entry apps. - For multi-entry apps, prefer
output.ssgByEntries. - If
output.ssgistrueandoutput.ssgByEntriesis not set, all routes under all entries are treated as SSG routes.
Configuration Type
Examples
Enable SSG for some entries
modern.config.ts
Configure routes per entry
modern.config.ts
Configure headers per entry or route
modern.config.ts