The PR removes the --legacy-peer-deps since it is no longer required (rollup-plugin-swc3 has fixed this).
The PR also adds --install-links. By default when npm installs the linked @swc/core from the local folder, it will not install the transitive dependencies (@swc/types). --install-links fixes that. See also: https://github.com/npm/cli/issues/2339
The PR removes the
--legacy-peer-deps
since it is no longer required (rollup-plugin-swc3
has fixed this).The PR also adds
--install-links
. By default when npm installs the linked@swc/core
from the local folder, it will not install the transitive dependencies (@swc/types
).--install-links
fixes that. See also: https://github.com/npm/cli/issues/2339