I also made some changes to fix imports and remove some stuff that caused breakage once stripInternals was turned on.
the bundles have source mpas disabled for now because when we downlevel the esm bundle to es5 tsc doesn't consider the original source map so we end up with a source map pointing to the esm bundle instead which is not useful.