Npm has npm rebuild to rebuild compiled packages (eg, node-sass). we need this in yarn for, among other reasons, the need to rebuild packages for cross-platform environments.
I'd still love to see this functionality added.
For anyone who runs across this in the meantime, npm rebuild --update-binary appears to be a viable workaround that won't mess with your lock files. /ht @fugroup
yarn rebuild is still needed for using workspaces. npm rebuild --update-binary will only work for the top-level dependencies and not workspace deps.
Most helpful comment
yarn rebuildis still needed for using workspaces.npm rebuild --update-binarywill only work for the top-level dependencies and not workspace deps.