[router] web v native file naming error: no sibling without platform extension
I am trying to update my app to run on `web`. I have quite a few packages that are not compatible on web, so i am creating "copy" files: `_layout.web.tsx
` that exclude the dependency, such as `react-native-vision-camera
`.
However, the original `_layout.tsx
` is still being bundled because the incompatible package triggers a compile failure. So I rename that to `_layout.native.tsx
`. This seems to allow the bundle to compile correctly without failing due to platform conflict, but I am getting an Expo Router error:
> Uncaught Error
> The file ./(app)/(auth)/_layout.web.tsx does not have a fallback sibling file without a platform extension.
Technically, I believe this is false because the file `_layout.native.tsx
` exists as the "fallback".
Is there a way around this?