File tree Expand file tree Collapse file tree 3 files changed +2
-13
lines changed Expand file tree Collapse file tree 3 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -97,14 +97,6 @@ CacheHandler.onCreation(() => {
9797 }
9898 }
9999
100- if ( process . env . NODE_ENV === "development" ) {
101- const config = { handlers : [ createLruHandler ( ) ] } ;
102- if ( isSingleConnectionModeEnabled ) {
103- global . cacheHandlerConfig = config ;
104- }
105- return config ;
106- }
107-
108100 const promise = createCacheConfig ( ) ;
109101 if ( isSingleConnectionModeEnabled ) {
110102 global . cacheHandlerConfigPromise = promise ;
Original file line number Diff line number Diff line change 11import type { NextConfig } from "next" ;
22
33const nextConfig : NextConfig = {
4- cacheHandler :
5- process . env . NODE_ENV === "production"
6- ? require . resolve ( "./cache-handler.mjs" )
7- : undefined ,
4+ cacheHandler : require . resolve ( "./cache-handler.mjs" ) ,
85 cacheMaxMemorySize : 0 , // disable default in-memory caching
96 experimental : {
107 //ppr: "incremental",
Original file line number Diff line number Diff line change 1515 "moduleResolution" : " bundler" ,
1616 "resolveJsonModule" : true ,
1717 "isolatedModules" : true ,
18- "jsx" : " react-jsx " ,
18+ "jsx" : " preserve " ,
1919 "incremental" : true ,
2020 "plugins" : [
2121 {
You can’t perform that action at this time.
0 commit comments