Skip to content

Commit 4412b7d

Browse files
committed
docs: Ensuring file labels are consistent
1 parent 91d7501 commit 4412b7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,9 @@ preact build --prerenderUrls src/prerender-urls.json
266266
If a static JSON file is too restrictive, you may want to provide a javascript file that exports your routes instead.
267267
Routes can be exported as a JSON string or an object and can optionally be returned from a function.
268268

269+
> `prerender-urls.js`
270+
269271
```js
270-
// prerender-urls.js
271272
module.exports = [
272273
{
273274
url: '/',
@@ -279,8 +280,9 @@ module.exports = [
279280
];
280281
```
281282

283+
> `prerender-urls.js`
284+
282285
```js
283-
// prerender-urls.js
284286
export default () => {
285287
return [
286288
{

0 commit comments

Comments
 (0)