ProjectEvergreen / greenwood

Greenwood is your full-stack workbench for the web, focused on supporting modern web standards and development to help you create your next project.
https://www.greenwoodjs.io
MIT License
94 stars 9 forks source link

bug/issue 1223 nested SSR pages release branch rebase and refactor #1236

Closed thescientist13 closed 1 month ago

thescientist13 commented 1 month ago

Related Issue

as part of rebasing master into the release branch, need to handle a conflict between #1223 / #1186, but mainly wanted to isolate this to a PR to better track the refactor for the benefit of #1223, and kind of works towards #1226

Note: the release branch CI process will fail until this PR lands - https://github.com/ProjectEvergreen/greenwood/actions/runs/9330931781

Summary of Changes

  1. Reintroduce SSR page bundle mapping in rollup.config.js to better remove ambiguity around similar bundle outputs, e.g.
    pages/
      index.js
      blog/
        index.js

Will file a separate PR for actually wrapping up #1226 though after I merge this.