How best to ensure Vue dependency in custom component doesn't get bundled twice?

Hi! I am building a custom component using Vue 2.6.x. It is included as an NPM module, and bundled using rollup which outputs an ESM format distributable.

If the Vue app that uses this component has a different minor version of Vue - I presume it will bundle both versions? What is the best practice to avoid this, and to be as “bundle-friendly” for app developers as possible?

Thanks…