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 1118 SSR pages are missing URL chunks of route chunk #1210

Closed thescientist13 closed 3 months ago

thescientist13 commented 3 months ago

Related Issue

regression from #1118

Noticed during upgrade testing that Rollup still seemed to be generating chunks of chunks and that ultimately these were not being tracked as part of Adapter code https://github.com/thescientist13/greenwood-lit-ssr/pull/12 Screenshot 2024-03-10 at 7 13 59 PM

We can see that a chunk for lit-element was created, which belongs to the products.route.js entry point

And it was not in the Vercel build output Screenshot 2024-03-10 at 7 17 12 PM Screenshot 2024-03-10 at 7 17 28 PM

Summary of Changes

  1. Copy over missing related route chunks by namespacing SSR page entry points and chunks

TODO

  1. [x] Need to fix the issue for good with a better convention
  2. [x] Apply to Netlify implementation
  3. [ ] Find a better way to reproduce this in test cases