Skip to content

Commit

Permalink
Update exportPathMap.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisw authored Oct 1, 2020
1 parent 8ce677a commit 4ef400a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/api-reference/next.config.js/exportPathMap.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ description: Customize the pages that will be exported as HTML files when using

# exportPathMap

`exportPathMap` allows you to specify a mapping of request paths to page destinations, to be used during export.

> This feature is exclusive of `next export`. Please refer to [Static HTML export](/docs/advanced-features/static-html-export.md) if you want to learn more about it.
<details>
<summary><b>Examples</b></summary>
<ul>
<li><a href="https://github.com/vercel/next.js/tree/canary/examples/with-static-export">Static Export</a></li>
</ul>
</details>

> This feature is exclusive of `next export`. Please refer to [Static HTML export](/docs/advanced-features/static-html-export.md) if you want to learn more about it.
`exportPathMap` allows you to specify a mapping of request paths to page destinations, to be used during export.

Let's start with an example, to create a custom `exportPathMap` for an app with the following pages:

- `pages/index.js`
Expand Down

0 comments on commit 4ef400a

Please sign in to comment.