I have a large library separated into many sub directories and modules which use ES6 module syntax. They are arranged on disk something like this: ``` src |- core | foo.ts | bar.ts | - ui | baz.ts | ham.ts ``` Instead of generating anonymous AMD modules and declaration files, I'd like to be able to specify a root path name and have the output explicitly define the module names, so that the files can be easily concatenated and minified: `foo.js` ``` define('myproject/core/foo', [...], function() { ... } ); ``` `foo.d.ts` ``` declare module 'myproject/core/foo' { ... } ``` Is there a way to do this with the current compiler flags or tsconfig?