UNPKG
@nadeshikon/plugin-nextjs
Version:
latest (4.29.5-4)
4.29.5
4.29.5-4
4.29.5-3
4.29.5-2
4.29.5-1
Run Next.js seamlessly on Netlify
github.com/netlify/next-runtime
netlify/next-runtime
@nadeshikon/plugin-nextjs
/
test
/
e2e
/
tests
/
getserversideprops
/
app
/
next.config.js
20 lines
(19 loc)
•
371 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module
.
exports
= {
// replace me
async
rewrites
(
) {
return
[ {
source
:
'/blog-post-1'
,
destination
:
'/blog/post-1'
, }, {
source
:
'/blog-post-2'
,
destination
:
'/blog/post-2?hello=world'
, }, {
source
:
'/blog-:param'
,
destination
:
'/blog/post-3'
, }, ] }, }