Unverified Commit 5e9d1aae authored by Joris W's avatar Joris W Committed by GitHub

Update exportPathMap.md (#18483)

This page claims that `exportPathMap` is only used by `next export`. This is somewhat misleading, as the mapping is also detected and applied during `yarn develop`. I welcome any other suggestions to make this clearer than I did in this PR.
parent 35f8f521
...@@ -13,7 +13,7 @@ description: Customize the pages that will be exported as HTML files when using ...@@ -13,7 +13,7 @@ description: Customize the pages that will be exported as HTML files when using
</ul> </ul>
</details> </details>
`exportPathMap` allows you to specify a mapping of request paths to page destinations, to be used during export. `exportPathMap` allows you to specify a mapping of request paths to page destinations, to be used during export. Paths defined in `exportPathMap` will also be available when using [`next dev`](/docs/api-reference/cli.md#development).
Let's start with an example, to create a custom `exportPathMap` for an app with the following pages: Let's start with an example, to create a custom `exportPathMap` for an app with the following pages:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment