File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,11 @@ const generateStaticIsrRewrites = ({
114
114
i18n : NextConfig [ 'i18n' ]
115
115
buildId : string
116
116
middleware : Array < string >
117
- } ) => {
117
+ } ) : {
118
+ staticRoutePaths : Set < string >
119
+ staticIsrRoutesThatMatchMiddleware : Array < string >
120
+ staticIsrRewrites : NetlifyConfig [ 'redirects' ]
121
+ } => {
118
122
const staticIsrRoutesThatMatchMiddleware : Array < string > = [ ]
119
123
const staticRoutePaths = new Set < string > ( )
120
124
const staticIsrRewrites : NetlifyConfig [ 'redirects' ] = [ ]
@@ -180,7 +184,10 @@ const generateDynamicRewrites = ({
180
184
i18n : NextConfig [ 'i18n' ]
181
185
buildId : string
182
186
middleware : Array < string >
183
- } ) => {
187
+ } ) : {
188
+ dynamicRoutesThatMatchMiddleware : Array < string >
189
+ dynamicRewrites : NetlifyConfig [ 'redirects' ]
190
+ } => {
184
191
const dynamicRewrites : NetlifyConfig [ 'redirects' ] = [ ]
185
192
const dynamicRoutesThatMatchMiddleware : Array < string > = [ ]
186
193
dynamicRoutes . forEach ( ( route ) => {
You can’t perform that action at this time.
0 commit comments