Curious if there's a better way to get Astro to bundle all CSS/JS into single files per site (i.e. one style.css, one script.js), instead of splitting per page. Right now I'm using cssCodeSplit: false in the config and await Astro.glob('../components/*.astro'); in the main layout front matter, which seems to work pretty well. The main problem I've noticed is that style order while in dev doesn't always match the build. It seems like this happens when an imported component contains another imported component, and that nested component style gets placed before my front matter global style import.
Is there a better way to handle that? Seems like conditionally running the await Astro.glob only for build would work too (removing it appears to keep the correct order in dev), but in my testing it seems like that gets called no matter the conditional/mode. Thanks!