primate icon indicating copy to clipboard operation
primate copied to clipboard

app depth isn't calculated correctly with only non-JS routes

Open terrablue opened this issue 1 year ago • 1 comments

If routes only contains non-JS files, app depth, which is essential for layout depth calculation, isn't calculated correctly.

for the sake of this fix, @rcompat/fs/router might need to be extended to support several extensions

terrablue avatar Aug 23 '24 16:08 terrablue

see also https://github.com/rcompat/rcompat/commit/1f95a56b1d7d9ee2732103c0a2b1c7b87212a68c

terrablue avatar Aug 23 '24 17:08 terrablue

@rcompat/fs/router has got support for multiple extensions in https://github.com/rcompat/rcompat/commit/646e0f7c0fe3c8439253a2a8b8b60f08a9b6fdf1

terrablue avatar Jun 28 '25 16:06 terrablue