For my set up, my source files are written in ES6 module format with imports / exports and what nots. When I build, I use BabelJS to transform my source into SystemJS modules, which I configure to resolve modules much like I would configure RequireJS; using a “baseURL”, “paths” and “map” to help resolve my modules consistently.
This leaves me in a pickle when trying to resolve my modules when editing with Tern. If I set up my module dependencies to be relative paths, Tern appears to work. However, I seldom use relative paths to resolve modules, and instead resolve my modules using their full path from a “baseURL”.
Are there additional configuration options for the “modules” and “es_modules” plugins like there is for the “requirejs” plugin? Or does the requirejs plugin integrate with the modules plugin?