TS: AMD in public and CommonJS elsewhere?

Jun 2, 2014 at 7:52 AM

I know I can eventually solve this with Grunt or Gulp or some other external build tool, but is there a clever way to use the AMD option in the TypeScript compiler for all of the files in 'public' which end up running on my client, but use CommonJS elsewhere for all of the other TS files that run on the server?

Thanks !! :)
-Mike Graham