refactor: switch collect_es6_sources to use JSEcmaScriptModuleInfo
refactor: switch collect_es6_sources to use JSEcmaScriptModuleInfo

collect_es6_sources is going to be removed along with the legacy rollup_bundle but for now this change removes one of the few uses of the legacy “typescript” provider remaining.

alexeagle/rules_nodejs,bazelbuild/rules_nodejs,alexeagle/rules_nodejs,alexeagle/rules_nodejs,bazelbuild/rules_nodejs,bazelbuild/rules_nodejs,bazelbuild/rules_nodejs,bazelbuild/rules_nodejs,alexeagle/rules_nodejs