这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@sokra
Copy link
Member

@sokra sokra commented May 4, 2023

Description

  • type=stylesheet => rel=stylesheet
  • remove timestamp, that's not needed
  • ensure correct encoding of the href

@vercel
Copy link
Contributor

vercel bot commented May 4, 2023

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

Name Status Preview Comments Updated (UTC)
examples-cra-web 🔄 Building (Inspect) May 4, 2023 8:35am
examples-native-web 🔄 Building (Inspect) May 4, 2023 8:35am
turbo-site 🔄 Building (Inspect) Visit Preview May 4, 2023 8:35am
8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) May 4, 2023 8:35am
examples-designsystem-docs ⬜️ Ignored (Inspect) May 4, 2023 8:35am
examples-gatsby-web ⬜️ Ignored (Inspect) May 4, 2023 8:35am
examples-kitchensink-blog ⬜️ Ignored (Inspect) May 4, 2023 8:35am
examples-nonmonorepo ⬜️ Ignored (Inspect) May 4, 2023 8:35am
examples-svelte-web ⬜️ Ignored (Inspect) May 4, 2023 8:35am
examples-tailwind-web ⬜️ Ignored (Inspect) May 4, 2023 8:35am
examples-vite-web ⬜️ Ignored (Inspect) May 4, 2023 8:35am

@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2023

✅ This change can build next-swc

return;
}

const encodedChunkPath = encodeURIComponent(chunkPath).replace(/%2F/g, "/");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't find where the reverse happens exactly, but we do the following for another case:

Suggested change
const encodedChunkPath = encodeURIComponent(chunkPath).replace(/%2F/g, "/");
const encodedChunkPath = chunkPath.split("/").map(|component| encodeURIComponent(component)).join("/");

@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2023

🟢 CI successful 🟢

Thanks

@sokra sokra enabled auto-merge (squash) May 4, 2023 08:35
@sokra sokra merged commit 12dd16a into main May 4, 2023
@sokra sokra deleted the sorka/fix-css-hmr branch May 4, 2023 08:49
sokra added a commit to vercel/next.js that referenced this pull request May 4, 2023
* vercel/turborepo#4815 <!-- Tobias Koppers - fix
CSS HMR -->

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
gsoltis pushed a commit that referenced this pull request May 5, 2023
### Description

* type=stylesheet => rel=stylesheet
* remove timestamp, that's not needed
* ensure correct encoding of the href
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 25, 2024
### Description

* type=stylesheet => rel=stylesheet
* remove timestamp, that's not needed
* ensure correct encoding of the href
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
### Description

* type=stylesheet => rel=stylesheet
* remove timestamp, that's not needed
* ensure correct encoding of the href
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
### Description

* type=stylesheet => rel=stylesheet
* remove timestamp, that's not needed
* ensure correct encoding of the href
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants