File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const adapter: NextAdapter = {
2121 if (
2222 ctx ?. phase === 'phase-production-build' &&
2323 config . output !== 'export' &&
24- satisfies ( ctx . nextVersion , `>=${ MIN_NEXT_VERSION } ` )
24+ satisfies ( ctx . nextVersion , `>=${ MIN_NEXT_VERSION } ` , { includePrerelease : true } )
2525 ) {
2626 console . log ( 'modifyConfig 2' )
2727 // If not export, make sure to not build standalone output to avoid wasteful work
@@ -40,7 +40,7 @@ const adapter: NextAdapter = {
4040 } ,
4141 async onBuildComplete ( ctx ) {
4242 console . log ( 'onBuildComplete 1' )
43- if ( ! satisfies ( ctx . nextVersion , `>=${ MIN_NEXT_VERSION } ` ) ) {
43+ if ( ! satisfies ( ctx . nextVersion , `>=${ MIN_NEXT_VERSION } ` , { includePrerelease : true } ) ) {
4444 // if we don't save an adapter manifest and unset the standalone config,
4545 // we will continue to use standalone mode.
4646 return
You can’t perform that action at this time.
0 commit comments