@uniflowed/config 0.0.0-alpha.10 → 0.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal/schema.js +13 -0
- package/package.json +1 -1
package/internal/schema.js
CHANGED
|
@@ -223,6 +223,19 @@ export type UniflowedConfig = {
|
|
|
223
223
|
>,
|
|
224
224
|
},
|
|
225
225
|
},
|
|
226
|
+
// Where the built site is served from, and what `uf build` may therefore
|
|
227
|
+
// write for a crawler. `url` is the switch: without it no `sitemap.xml` and
|
|
228
|
+
// no `robots.txt` are written at all, because a build cannot guess the host
|
|
229
|
+
// it will be deployed to and a wrong `<loc>` is worse than a missing one.
|
|
230
|
+
readonly site?: {
|
|
231
|
+
readonly url?: string,
|
|
232
|
+
readonly sitemap?: boolean,
|
|
233
|
+
readonly robots?: {
|
|
234
|
+
readonly enabled?: boolean,
|
|
235
|
+
readonly allow?: $ReadOnlyArray<string>,
|
|
236
|
+
readonly disallow?: $ReadOnlyArray<string>,
|
|
237
|
+
},
|
|
238
|
+
},
|
|
226
239
|
readonly std?: {
|
|
227
240
|
readonly module?: "@uniflowed/std",
|
|
228
241
|
readonly wintertcAligned?: true,
|