Or wire up your own utility function with bundle-require [2], another favorite of mine, for loading TS or JS config files.
[1]: https://github.com/antfu-collective/unconfig [2]: https://github.com/egoist/bundle-require