The plugin sets ssr.noExternal to true, which leads to error messages such as:
[commonjs--resolver] Failed to resolve entry for package "https". The package may have incorrect main/module/exports specified in its package.json.
When disabled the errors go away.