Skip to content

Commit 167f864

Browse files
feat(powerpages): add includeSource and sourceExcludePatterns (SchemaStore#4960)
Co-authored-by: amitjoshi438 <[email protected]>
1 parent a25d05a commit 167f864

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/schemas/json/powerpages.config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@
2222
"items": {
2323
"type": "string"
2424
}
25+
},
26+
"includeSource": {
27+
"type": "boolean",
28+
"description": "Whether to include source code when uploading files to Power Pages. Defaults to `false` if not specified."
29+
},
30+
"sourceExcludePatterns": {
31+
"type": "array",
32+
"description": "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`.",
33+
"items": {
34+
"type": "string"
35+
}
2536
}
2637
},
2738
"type": "object"

src/test/powerpages.config/powerpages.config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"bundleFilePatterns": ["**/*.js", "**/*.css"],
33
"compiledPath": "C:\\path\\to\\compiled\\folder",
44
"defaultLandingPage": "foo.html",
5+
"includeSource": true,
56
"siteName": "Website Name"
67
}

0 commit comments

Comments
 (0)