Inlined, based on exactly what your library needs, and without overriding globals. Sometimes it makes sense though to ask your users to install large polyfills themselves, like Promises.
Babel also has a transformer to do this for you: babeljs.io/docs/plugins/transform-runtime