aomarks / bridgesim

A starship bridge simulator for the web.
https://aomarks.github.io/bridgesim/
16 stars 3 forks source link

watch, build: generate TS sourcemaps for easier debugging #15

Closed d4l3k closed 8 years ago

d4l3k commented 8 years ago

Sorry for the grab bag of build related improvements.

d4l3k commented 8 years ago

@rictic There must be a better way to do this, right?

But as far as I can tell, the better is blocked on vulkanize not supporting source maps. https://github.com/Polymer/vulcanize/issues/12 https://github.com/PolymerLabs/polybuild/issues/26

Halp.

rictic commented 8 years ago

Building your own source maps like that is awesome. Yeah, I think this is the best solution for now until vulcanize supports source maps natively.

d4l3k commented 8 years ago

That's terrifying to hear because this was a huge pain in the ass to get working.

rictic commented 8 years ago

Polymer + Typescript still involves a good bit of elbow grease. We hope to improve that, but that's where it stands now.

FWIW this looks like high quality work.