Splitview - New plugin with splitscreen preview

I did that and found out that there is a problem with this setup. This is what I found out.

When having this:

'pattern' => self::$route . '/assets/js/dist/(:any)',

it matches this:

http://localhost:8000/kirby/splitview/assets/js/dist/site

but not this:

http://localhost:8000/kirby/splitview/assets/js/dist/site.min.js

It means that with this setup it cannot handle urls with dots. I will ask about this in another thread to see if anyone knows what the h*** is going on here. :confused:

UPDATED

I asked about it here: