I'm using CM 5.1.0 and browserify.
I can require CM modules just fine, e.g.
however, I'm trying to do autoloading of modes based on file extention and I cannot work out what the modeURL should be. I'ver tried:
not setting it (so it defaults to
relative to the code that calls
relative to the browserify
and any other path I can think of, but I still get '
cannot find module'.
Any help greatly appreciated.