fix(lib): respect rollupOptions.input
in lib mode
#10116
Merged
rollupOptions.input
in lib mode
#10116