primatejs / primate

Web framework focused on flexibility and developer freedom
https://primatejs.com
MIT License
211 stars 9 forks source link

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

Open terrablue opened 2 months ago

terrablue commented 2 months ago

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 commented 2 months ago

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