File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/@apphosting/adapter-nextjs/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ const adapter: NextAdapter = {
4242 // TODO override config for production build
4343 return config ;
4444 } ,
45+ // This fires before standalone is bundled, so we need to pick things back up after build in bin/build.ts
46+ // FEEDBACK: can we get a hook after bundle?
4547 async onBuildComplete ( context ) {
4648
4749 const nextBuildDirectory = context . distDir ;
@@ -50,7 +52,6 @@ const adapter: NextAdapter = {
5052 await addRouteOverrides ( nextBuildDirectory , context . outputs . middleware . config . matchers ) ;
5153 }
5254
53- // TODO standalone is not bundled yet...
5455 const outputBundleOptions = populateOutputBundleOptions (
5556 context . repoRoot ,
5657 context . projectDir ,
You can’t perform that action at this time.
0 commit comments