Babel config in vue 3 plugins does not work when installed to a project

Hello, I have a UI framework I made in Vue 3 running off of vue-cli-service at https://github.com/axeridev/fluxui

To start the repo, run npm i typescript in the project
then run npx tsc --watch ← keep this running in another terminal
and finaly vue-cli-service serve

When you start it, it works greate, im havving the issue with option chaning which was fixed by adding babel preset env to babel.config.ts.

When publishing to npm and installing to another vuejs project with the exact same structure an modules as fluxui but without flux uis parts it fails because it cant parse the “??” and “?.” syntax due to babel.config.ts not being detected, but in my project I have one, and in my project i also have one.

why is this happening