File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
// Configurable site features we support:
3
3
// distDir: 'build',
4
- experimental : {
5
- isrFlushToDisk : false ,
6
- } ,
4
+
7
5
generateBuildId : ( ) => 'build-id' ,
8
6
i18n : {
9
7
defaultLocale : 'en' ,
Original file line number Diff line number Diff line change
1
+ /* eslint-disable max-lines-per-function */
1
2
const { promises, createWriteStream, existsSync } = require ( 'fs' )
2
3
const { Server } = require ( 'http' )
3
4
const { tmpdir } = require ( 'os' )
@@ -21,6 +22,7 @@ const makeHandler =
21
22
22
23
// Set during the request as it needs the host header. Hoisted so we can define the function once
23
24
let base
25
+ conf . experimental . isrFlushToDisk = false
24
26
25
27
// Only do this if we have some static files moved to the CDN
26
28
if ( staticManifest . length !== 0 ) {
@@ -182,3 +184,4 @@ exports.handler = ${
182
184
`
183
185
184
186
module . exports = getHandler
187
+ /* eslint-enable max-lines-per-function */
You can’t perform that action at this time.
0 commit comments