From 4412b7d8436610116a4a15f60122513ce34d2e7f Mon Sep 17 00:00:00 2001 From: Ryan Christian Date: Tue, 22 Mar 2022 14:28:46 -0500 Subject: [PATCH] docs: Ensuring file labels are consistent --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78c349a1e..9b547a613 100644 --- a/README.md +++ b/README.md @@ -266,8 +266,9 @@ preact build --prerenderUrls src/prerender-urls.json If a static JSON file is too restrictive, you may want to provide a javascript file that exports your routes instead. Routes can be exported as a JSON string or an object and can optionally be returned from a function. +> `prerender-urls.js` + ```js -// prerender-urls.js module.exports = [ { url: '/', @@ -279,8 +280,9 @@ module.exports = [ ]; ``` +> `prerender-urls.js` + ```js -// prerender-urls.js export default () => { return [ {