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

generate correct async module handling for side effects optimization #7720

Merged
merged 3 commits into from
Mar 13, 2024

Conversation

sokra
Copy link
Member

@sokra sokra commented Mar 13, 2024

Description

Async module handling was missing for side effects optimized modules

Testing Instructions

Closes PACK-2733

Copy link

vercel bot commented Mar 13, 2024

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

Name Status Preview Comments Updated (UTC)
examples-basic-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 8:52am
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 8:52am
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 8:52am
7 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 8:52am
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 8:52am
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 8:52am
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 8:52am
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 8:52am
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 8:52am
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 8:52am

Copy link
Contributor

github-actions bot commented Mar 13, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

✅ This change can build next-swc

@sokra sokra requested a review from kdy1 March 13, 2024 08:28
Copy link
Contributor

github-actions bot commented Mar 13, 2024

⚠️ CI failed ⚠️

The following steps have failed in CI:

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

See workflow summary for details

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

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

Other codes look good to me. Just want to check if creation of Vc is intentional

@sokra sokra merged commit 6c57d42 into main Mar 13, 2024
44 of 47 checks passed
@sokra sokra deleted the sokra/side-effects-async-modules branch March 13, 2024 08:51
kdy1 added a commit to vercel/next.js that referenced this pull request Mar 13, 2024
# Turbopack

* vercel/turborepo#7719 <!-- Tobias Koppers - accept
css files outside of the project as virtual assets -->
* vercel/turborepo#7661 <!-- Tobias Koppers - more
efficient node.js process startup -->
* vercel/turborepo#7720 <!-- Tobias Koppers -
generate correct async module handling for side effects optimization -->
* vercel/turborepo#7718 <!-- Donny/강동윤 -
fix(turbopack): Fix CSS Modules class name for lightningcss mode -->

### What?

Update tests to make CSS Modules of `lightningcss` work with CSS grids.

### Why?

`lightningcss` enforces the class name to end with `[local]`.

See: https://lightningcss.dev/css-modules.html#css-grid


### How?

Closes PACK-2731
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 25, 2024
…ercel/turborepo#7720)

### Description

Async module handling was missing for side effects optimized modules

### Testing Instructions

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


Closes PACK-2733
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
…ercel/turborepo#7720)

### Description

Async module handling was missing for side effects optimized modules

### Testing Instructions

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


Closes PACK-2733
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Jul 29, 2024
…ercel/turborepo#7720)

### Description

Async module handling was missing for side effects optimized modules

### Testing Instructions

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


Closes PACK-2733
ForsakenHarmony pushed a commit to vercel/next.js that referenced this pull request Aug 1, 2024
…ercel/turborepo#7720)

### Description

Async module handling was missing for side effects optimized modules

### Testing Instructions

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


Closes PACK-2733
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.

2 participants