swc-project/swc

Alternative package manager support for the module resolution

Open

#3,247 opened on Jan 13, 2022

View on GitHub
 (20 comments) (24 reactions) (0 assignees)Rust (33,411 stars) (1,389 forks)batch import
enhancementhelp wanted

Description

Describe the feature

Since the currently implemented plugin resolve algorithm relies on the node_modules structure, it doesn't work with alternative module linking approaches like ones from pnpm and Yarn Berry. While directly pointing at the WASM binary is implemented as a temporary workaround, this should be covered with a more elegant and user-friendly approach.

Initially discussed in the Discord channel

Babel plugin or link to the feature description

No response

Additional context

No response

Contributor guide