next.js
Turbopack: Add importModule() support to webpack loaders
#89630
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
24
Changes
View On
GitHub
Turbopack: Add importModule() support to webpack loaders
#89630
sokra
merged 24 commits into
canary
from
claude/add-webpack-loader-test-kVsLq
nextjs-bot
added
created-by: Turbopack team
nextjs-bot
added
tests
nextjs-bot
added
Turbopack
vercel
commented on 2026-02-07
sokra
force pushed
from
7a28fa8b
153 days ago
sokra
force pushed
to
6bbede43
153 days ago
sokra
force pushed
from
6bbede43
to
c67970cf
151 days ago
sokra
force pushed
from
c67970cf
151 days ago
sokra
force pushed
to
372aa7f8
151 days ago
sokra
changed the title
Add importModule() support to webpack loaders
Turbopack: Add importModule() support to webpack loaders
150 days ago
sokra
marked this pull request as ready for review
150 days ago
sokra
requested a review
from
bgw
150 days ago
sokra
requested a review
from
mischnic
150 days ago
lukesandberg
commented on 2026-02-12
sokra
force pushed
from
21e53269
to
2d5430ff
146 days ago
sokra
requested a review
from
lukesandberg
146 days ago
lukesandberg
commented on 2026-02-23
sokra
force pushed
from
e86ca83d
to
782da5a5
136 days ago
lukesandberg
commented on 2026-03-03
sokra
requested a review
from
lukesandberg
131 days ago
lukesandberg
requested changes on 2026-03-05
sokra
requested a review
from
lukesandberg
126 days ago
sokra
force pushed
from
782da5a5
to
035be1d3
122 days ago
lukesandberg
approved these changes on 2026-03-16
sokra
force pushed
from
a74ad88f
to
40989f71
117 days ago
Add e2e test for webpack loader this.importModule() API
f05af005
Skip webpack loader importModule test for Turbopack
00707b23
Implement this.importModule() for Turbopack webpack loaders
a2c0d980
Extend importModule test with CJS, ESM, and JSON dependencies
3ff12fc3
Use Turbopack code generation for importModule
33b3ef4e
Expand importModule test with ESM config, URL, and WebAssembly coverage
81a73c17
Add new URL() asset references, WebAssembly imports, and ImportModule…
bd0d1ea0
Add proper async module support and dynamic imports to importModule
d5267259
Clean up importModule: extract runtime, deduplicate, cargo fmt
bfc103f5
Fix importModule production mode: async wrapper, ctx.P, ctx.A
a66ce6f5
Clean up importModule runtime and types
a5b3da56
Fix prettier formatting in webpack-loaders-runtime.ts
1849f59b
Migrate Vc::try_resolve_sidecast to ResolvedVc::try_sidecast
73e9f87e
Simplify importModule resolve: use esm_resolve instead of resolve + p…
1621463d
Add asset_context to SourceTransform::transform for importModule alia…
24476e45
Add missing ctx.U (relativeURL) and fix ctx.q in importModule mini-ru…
95745f31
Add missing asset_context parameter to Bytes/TextSourceTransform::tra…
3c221368
Use relative paths for some importModule calls in webpack loader test
daaec681
use hasOwn
dcf307be
Replace importModule mini runtime with full Node.js bundle evaluation
a83753f6
Fix missing asset_context parameter in transform() calls after restack
bdb675fb
Pass IssueSource to esm_resolve in importModule handler
55e5b495
Fix missing asset_context parameter in JsonSourceTransform after restack
c0789df3
Fix ChunkGroup API change and add comment for absolute path handling
6a1a7428
sokra
force pushed
from
40989f71
to
6a1a7428
115 days ago
sokra
merged
bdb2f2ce
into canary
115 days ago
sokra
deleted the claude/add-webpack-loader-test-kVsLq branch
115 days ago
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
99 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
lukesandberg
vercel
bgw
mischnic
Assignees
No one assigned
Labels
Turbopack
created-by: Turbopack team
locked
tests
Milestone
No milestone
Login to write a write a comment.
Login via GitHub