I have a monorepo setup with a package that contains React Native components. The naming convention for React Native files is to have .native in the extension, for example utils.native.ts.
Import paths referring to files with multiple . extensions do not get transformed into relative paths.