Conversation
🦋 Changeset detectedLatest commit: c548eb2 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
CodSpeed Performance ReportMerging #12477 will degrade performances by 11.86%Comparing Summary
Benchmarks breakdown
|
|
Any reason why changes about globalThis are not in this PR? |
This fix has to be shipped regardless of astro:env. We generate an incorrect code nonetheless. Myself and Matthew agreed that we can ship this fix while we wait for a good fix for astro env |
florian-lefebvre
left a comment
There was a problem hiding this comment.
This looks good but I think we should also get rid of the generated middleware.mjs file, as I did in #12326
|
I'll submit a new PR if that's OK with you @florian-lefebvre |
Changes
The middleware is now dynamically imported, which means we don't need to have it at the top of
entry.mjsCloses PLT-2659
Testing
I tested locally and checked the emitted file. That import is unused, so there's no need for new tests.
Current CI should pass
Docs
N/A