Syntax highlighting not working on Vite

I figured it out.

There are a number of discussions such as here:

that say you have to set optimizeDeps.exclude. I was doing that, but using glob pattern that is not supported. I had to look in the vite code to discover that:

I switched to using explicit module paths, and it works now!