Skip to content

Conversation

@alexkirsz
Copy link
Contributor

@alexkirsz alexkirsz commented Mar 14, 2023

Description

The fix introduced in #3542 was a workaround for CSS in dynamic imports being included multiple times in a page, potentially overriding precedence of earlier chunks, but introduced its own precedence issue (the semantics of @layer are not fully compatible with our use case). This is no longer necessary since #4056 made it so dynamic imports no longer include items from the parent chunk.

Testing Instructions

create-next-app with app support now looks visually identical with and without --turbo.

Snapshots.

@alexkirsz alexkirsz requested a review from a team as a code owner March 14, 2023 17:33
@vercel
Copy link
Contributor

vercel bot commented Mar 14, 2023

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

Name Status Preview Comments Updated
examples-kitchensink-blog 🔄 Building (Inspect) Mar 14, 2023 at 5:38PM (UTC)
examples-vite-web 🔄 Building (Inspect) Mar 14, 2023 at 5:38PM (UTC)
8 Ignored Deployments
Name Status Preview Comments Updated
examples-basic-web ⬜️ Ignored (Inspect) Mar 14, 2023 at 5:38PM (UTC)
examples-cra-web ⬜️ Ignored (Inspect) Mar 14, 2023 at 5:38PM (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Mar 14, 2023 at 5:38PM (UTC)
examples-native-web ⬜️ Ignored (Inspect) Mar 14, 2023 at 5:38PM (UTC)
examples-nonmonorepo ⬜️ Ignored (Inspect) Mar 14, 2023 at 5:38PM (UTC)
examples-svelte-web ⬜️ Ignored (Inspect) Mar 14, 2023 at 5:38PM (UTC)
examples-tailwind-web ⬜️ Ignored (Inspect) Mar 14, 2023 at 5:38PM (UTC)
turbo-site ⬜️ Ignored (Inspect) Mar 14, 2023 at 5:38PM (UTC)

@alexkirsz alexkirsz added the pr: automerge Kodiak will merge these automatically after checks pass label Mar 14, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Mar 14, 2023

⚠️ CI failed ⚠️

The following steps have failed in CI:

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

See workflow summary for details

@kodiakhq kodiakhq bot merged commit 1500d78 into main Mar 14, 2023
@kodiakhq kodiakhq bot deleted the alexkirsz/web-620-app-css-breakage-2 branch March 14, 2023 17:54
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 25, 2024
### Description

The fix introduced in vercel/turborepo#3542 was a workaround for CSS in dynamic imports
being included multiple times in a page, potentially overriding
precedence of earlier chunks, but introduced its own precedence issue
(the semantics of `@layer` are not fully compatible with our use case).
This is no longer necessary since vercel/turborepo#4056 made it so dynamic imports no
longer include items from the parent chunk.

### Testing Instructions

create-next-app with app support now looks visually identical with and
without --turbo.

Snapshots.
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
### Description

The fix introduced in vercel/turborepo#3542 was a workaround for CSS in dynamic imports
being included multiple times in a page, potentially overriding
precedence of earlier chunks, but introduced its own precedence issue
(the semantics of `@layer` are not fully compatible with our use case).
This is no longer necessary since vercel/turborepo#4056 made it so dynamic imports no
longer include items from the parent chunk.

### Testing Instructions

create-next-app with app support now looks visually identical with and
without --turbo.

Snapshots.
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
### Description

The fix introduced in vercel/turborepo#3542 was a workaround for CSS in dynamic imports
being included multiple times in a page, potentially overriding
precedence of earlier chunks, but introduced its own precedence issue
(the semantics of `@layer` are not fully compatible with our use case).
This is no longer necessary since vercel/turborepo#4056 made it so dynamic imports no
longer include items from the parent chunk.

### Testing Instructions

create-next-app with app support now looks visually identical with and
without --turbo.

Snapshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: automerge Kodiak will merge these automatically after checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants