I am using vue-cli-service to compile my library which uses vue-demi and I develop the code using vue 3.2.X.
When I import the library in a vue2 project vue-demi detects vue3 is running instead of vue2.
This is a console log of following in my library, which I imported in my application.
import * as VueDemi from 'vue-demi';
console.log(VueDemi)

Here's a repo to reproduce it
https://github.com/pareshchouhan/vue-demi-test
In my library only thing I use vue-demi is for importing defineComponent
import { defineComponent } from 'vue-demi';
It crashes inside the library code when calling defineComponent
