@xyh19/rollup-plugin-node-externals (npm): A Rollup plugin that automatically declares NodeJS built-in modules as external. Can also handle npm dependencies, devDependencies, peerDependencies and optionalDependencies. Works in monorepos too!
Keywords: rollup-plugin|externals