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

feat(node): augment webpack loader's logger context #7726

Merged
merged 1 commit into from Mar 13, 2024

Conversation

kwonoj
Copy link
Contributor

@kwonoj kwonoj commented Mar 13, 2024

Description

Trying to support sass-loader to not fail if it requires specific logger from loadercontext.

Closes PACK-2737

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-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 10:23pm
rust-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 10:23pm
8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 10:23pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Mar 13, 2024 10:23pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 10:23pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 10:23pm
examples-native-web ⬜️ Ignored (Inspect) Mar 13, 2024 10:23pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 10:23pm
examples-tailwind-web ⬜️ Ignored (Inspect) Mar 13, 2024 10:23pm
examples-vite-web ⬜️ Ignored (Inspect) Mar 13, 2024 10:23pm

Copy link

vercel bot commented Mar 13, 2024

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

Name Status Preview Updated (UTC)
examples-nonmonorepo 🔄 Building (Inspect) Mar 13, 2024 9:23pm
rust-docs 🔄 Building (Inspect) Visit Preview Mar 13, 2024 9:23pm
8 Ignored Deployments
Name Status Preview Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Mar 13, 2024 9:23pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Mar 13, 2024 9:23pm
examples-gatsby-web ⬜️ Ignored (Inspect) Mar 13, 2024 9:23pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Mar 13, 2024 9:23pm
examples-native-web ⬜️ Ignored (Inspect) Mar 13, 2024 9:23pm
examples-svelte-web ⬜️ Ignored (Inspect) Mar 13, 2024 9:23pm
examples-tailwind-web ⬜️ Ignored (Inspect) Mar 13, 2024 9:23pm
examples-vite-web ⬜️ Ignored (Inspect) Mar 13, 2024 9:23pm

Copy link
Contributor

✅ This change can build next-swc

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)

See workflow summary for details

@@ -333,7 +333,7 @@ const transform = (
emitWarning: makeErrorEmitter("warning", ipc),
emitError: makeErrorEmitter("error", ipc),
getLogger(name: unknown) {
return (type: unknown, args: unknown) => {
const logger = (type: unknown, args: unknown) => {
Copy link
Member

Choose a reason for hiding this comment

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

Would prefer this to not be an arrow function, but it actually uses this so it would need additional changes.

Copy link
Contributor

🟢 Turbopack Benchmark CI successful 🟢

Thanks

@kwonoj kwonoj merged commit 2500eaf into main Mar 13, 2024
48 of 50 checks passed
@kwonoj kwonoj deleted the augment-logger-context branch March 13, 2024 23:48
kdy1 added a commit to vercel/next.js that referenced this pull request Mar 14, 2024
# Turbopack changes

* vercel/turbo#7726 <!-- OJ Kwon - feat(node): augment webpack loader's logger context -->
* vercel/turbo#7729 <!-- Donny/강동윤 - Update `swc_core` to `v0.90.22` -->
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

2 participants