swc-project/swc
View on GitHubAlternative package manager support for the module resolution
Open
#3,247 opened on Jan 13, 2022
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