We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d7501 commit 4412b7dCopy full SHA for 4412b7d
README.md
@@ -266,8 +266,9 @@ preact build --prerenderUrls src/prerender-urls.json
266
If a static JSON file is too restrictive, you may want to provide a javascript file that exports your routes instead.
267
Routes can be exported as a JSON string or an object and can optionally be returned from a function.
268
269
+> `prerender-urls.js`
270
+
271
```js
-// prerender-urls.js
272
module.exports = [
273
{
274
url: '/',
@@ -279,8 +280,9 @@ module.exports = [
279
280
];
281
```
282
283
284
285
286
export default () => {
287
return [
288
0 commit comments