I've created jquery plugin that is using modern browser's (Node/Element) features. I'm going to publish plugin as npm package. My wish is not to include polyfills code into jquery plugin, bud declare the dependencies on them.
Plugin created using Babel.
What kind of options to declare those dependencies I have? Just list them in documentation and point sample modernizr or polyfill-service configuration? What else? Any recommended automation e.g for webpack or other bundler's users? For babel users?