webpack-cli wants @swc/register
but it is deprecated for @swc-node/register
#4129
Labels
@swc/register
but it is deprecated for @swc-node/register
#4129
Describe the bug
What is the current behavior?
This block of logic sometimes leads to the following error when
@swc-node/register
is used:The error occurs because the
interpret
dependency supports@swc/register
and not@swc-node/register
.Expected behavior
webpack-cli
can use@swc-node/register
Additional context
I understand the issue occurs because of a dependency to the
interpret
package, but it leads to webpack-cli depending on deprecated packages.The text was updated successfully, but these errors were encountered: