I’m using CM 5.1.0 and browserify.
I can require CM modules just fine, e.g.
require('../../bower_components/codemirror/addon/mode/loadMode.js');``` 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 `../mode/$N/$N.js` relative to the code that calls `autoLoadMode` relative to the browserify `bundle.js` and any other path I can think of, but I still get '`cannot find module`'. Any help greatly appreciated.