Is there any way to change @babel/plugin-transform-typescript options?

I use the vue/@cli-* ~4.5.15 together with @vue/cli-plugin-babel/preset preset.

I’d like to change underlying @babel/plugin-transform-typescript options and set optimizeConsteEnums to true to be able to take advantage of the const enum feature.

Is there any way I can do it via babel.config.js?


PS. I know that, as an alternative, I could possibly use babel-plugin-const-enum but changing @babel/plugin-transform-typescript preset settings seems more elegant.