swc-project/swc

Alternative package manager support for the module resolution

Aperta

#3247 aperta il 13 gen 2022

 (20 commenti) (24 reazioni) (0 assegnatari)Rust (1389 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (33.411 stelle)
Metriche merge PR
 (Merge medio 1g 18h) (37 PR mergiate in 30 g)

Descrizione

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

Guida contributor