typescript-ruby / typescript-rails

An asset pipeline wrapper for the TypeScript language
MIT License
255 stars 30 forks source link

Source maps support #34

Open lowjoel opened 8 years ago

lowjoel commented 8 years ago

Does TypeScript-Rails generate source maps? This would greatly help debugging.

I know the infrastructure for source maps are coming in sprockets v4, but I think CoffeeScript and Sass both have source map gems already.

bdrazhzhov commented 8 years ago

Hi @lowjoel, TypeScript-Rails does not support source maps now. But thanks for issue, I would implement this feature.

lowjoel commented 8 years ago

I'll be looking forward to it!

jklmli commented 8 years ago

TypeScript supports inline source maps through the option --inlineSourceMap, you can enable these in development.

See https://github.com/Microsoft/TypeScript/wiki/Compiler-Options