-
-
Notifications
You must be signed in to change notification settings - Fork 781
Labels
pending triageThe issue/PR is currently untouched.The issue/PR is currently untouched.teamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.
Description
Description
We need to port a bug fix from Webpack to Rspack.
Upstream Context:
- Webpack Issue: __webpack_module__ is rewritten to module, causing identifier collision with user-defined const module webpack/webpack#20264
- Webpack PR (The Fix): refactor: avoid module variable conflict in __webpack_module__ API webpack/webpack#20265
Task:
Please analyze the logic changes in the Webpack JS implementation and apply the equivalent logic to Rspack's Rust implementation.
Goal:
Ensure the Rspack implementation handles the path resolution logic correctly as per the upstream fix.
Context for Copilot
- Source language: JavaScript (Webpack)
- Target language: Rust (Rspack)
- Please be careful with Rust types and Path handling.
Reactions are currently unavailable
Metadata
Metadata
Labels
pending triageThe issue/PR is currently untouched.The issue/PR is currently untouched.teamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.