Power Pages Configuration
Power Pages configuration file for Bring Your Own Code (BYOC) sites
| Type | object |
|---|---|
| File match |
powerpages.config.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/power-pages-configuration/latest.json |
| Source | https://www.schemastore.org/powerpages.config.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Properties
siteName
string
The name of the website
defaultLandingPage
string
The path of the default HTML page to load when opening the website. This path should be relative to the compiledPath.
compiledPath
string
The path of the compiled output directory relative to powerpages.config.json file
bundleFilePatterns
string[]
List of glob patterns (strings) identifying file patterns to be cleaned up from web-files before uploading to Power Pages.
includeSource
boolean
Whether to include source code when uploading files to Power Pages. Defaults to false if not specified.
sourceExcludePatterns
string[]
List of glob patterns (strings) identifying source file patterns to be excluded when uploading the site to Power Pages. This is only applicable if includeSource is set to true.