Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix encoding of chunks, fix chunk (re)loading for css #6424

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

sokra
Copy link
Member

@sokra sokra commented Nov 10, 2023

Description

We need to be consistent with url encoding
Look for existing link tags when loading CSS
allow querystring when detection existing chunks

Testing Instructions

Closes PACK-1934

fix chunk (re)loading for css
Copy link

vercel bot commented Nov 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

11 Ignored Deployments
Name Status Preview Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-cra-web ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-designsystem-docs ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-gatsby-web ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-kitchensink-blog ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-native-web ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-nonmonorepo ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-svelte-web ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-tailwind-web ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
examples-vite-web ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am
turbo-site ⬜️ Ignored (Inspect) Nov 10, 2023 10:32am

Copy link
Contributor

✅ This change can build next-swc

Copy link
Contributor

github-actions bot commented Nov 10, 2023

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

Copy link
Contributor

Linux Benchmark for 4147d0d

Click to view benchmark
Test Base PR % Significant %
bench_hmr_to_commit/Turbopack CSR/1000 modules 21.62ms ± 0.84ms 21.54ms ± 0.82ms -0.36%
bench_hmr_to_eval/Turbopack CSR/1000 modules 21.33ms ± 0.79ms 21.19ms ± 0.85ms -0.67%
bench_startup/Turbopack CSR/1000 modules 1133.89ms ± 3.14ms 1144.57ms ± 9.77ms +0.94%

Copy link
Contributor

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@sokra sokra merged commit fd5d789 into main Nov 13, 2023
52 of 54 checks passed
@sokra sokra deleted the sokra/encoding-and-css-loading branch November 13, 2023 16:57
kodiakhq bot pushed a commit to vercel/next.js that referenced this pull request Nov 15, 2023
@abergenw
Copy link

abergenw commented Dec 5, 2023

This makes sense, but when doing the replacement it seems like we're now looking for url encoded link tags which are not encoded in the first place?

@ForsakenHarmony
Copy link
Member

@abergenw you are correct, quick fix is in #6777

ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 25, 2024
…po#6424)

### Description

We need to be consistent with url encoding
Look for existing link tags when loading CSS
allow querystring when detection existing chunks

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->


Closes PACK-1934
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
…po#6424)

### Description

We need to be consistent with url encoding
Look for existing link tags when loading CSS
allow querystring when detection existing chunks

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->


Closes PACK-1934
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
…po#6424)

### Description

We need to be consistent with url encoding
Look for existing link tags when loading CSS
allow querystring when detection existing chunks

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->


Closes PACK-1934
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants