File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
packages/cloudflare/src/cli/build Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,11 @@ function ensureNextjsVersionSupported(options: buildHelper.BuildOptions) {
9999 }
100100 // TODO: remove when 15.4 is supported
101101 // Note: `e2e/experimental` is on 15.4.0-canary.14 which works
102- // if (
103- // !options.appPath.endsWith("opennextjs-cloudflare/examples/e2e/experimental") &&
104- // buildHelper.compareSemver(options.nextVersion, ">=", "15.4.0")
105- // ) {
106- // logger.error("Next.js version unsupported, the latest supported version is 15.3");
107- // process.exit(1);
108- // }
102+ if (
103+ ! options . appPath . endsWith ( "opennextjs-cloudflare/examples/e2e/experimental" ) &&
104+ buildHelper . compareSemver ( options . nextVersion , ">=" , "15.4.0" )
105+ ) {
106+ logger . error ( "Next.js version unsupported, the latest supported version is 15.3" ) ;
107+ process . exit ( 1 ) ;
108+ }
109109}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ catalogs:
4545 " @types/react-dom " : 19.0.0
4646 " @types/react " : 19.0.0
4747 autoprefixer : 10.4.15
48- next : ~15.3 .5
48+ next : ~15.4 .5
4949 postcss : 8.4.27
5050 react-dom : 19.0.0
5151 react : 19.0.0
You can’t perform that action at this time.
0 commit comments