untyped / sbt-plugins

SBT plugins for Javascript, Coffeescript, LESS, SASS, and Mustache compilation
73 stars 23 forks source link

Partially implement javascript sourcemap support #60

Closed thatsmydoing closed 8 years ago

thatsmydoing commented 10 years ago

This is more of a question than an actual pull request. Closure compiler supports generating sourcemaps so that the compiled JS can be easily debugged. This is easy enough to implement, but the problem is the sbt-graph API only supports one file generated per Source. So the files reported to sbt (per resource generator contract) are lacking. I'm not sure how to proceed from here.

thatsmydoing commented 10 years ago

In hindsight, this is probably going to be even more complicated if you factor in the CoffeeScript compiler.

davegurnell commented 10 years ago

Yes - that's definitely the main problem. If you know of any tools that compose source maps, let me know!

On 26 May 2014 08:26, Thomas Dy notifications@github.com wrote:

In hindsight, this is probably going to be even more complicated if you factor in the CoffeeScript compiler.

Reply to this email directly or view it on GitHubhttps://github.com/untyped/sbt-plugins/pull/60#issuecomment-44158276 .

Dave Gurnell, Untyped http://untyped.com 07967 004805

davegurnell commented 8 years ago

Since we don't have a complete working version of sbt-js here, I'm going to close this PR. Happy to revisit when we crack the Coffeescript problem!