Closed alexandru closed 7 years ago
Thanks for reporting it @alexandru, seems like this was broken when migrated to Rollup and was not reported yet. Fixed it already.
I prefer to redirect to the original sourcemaps files (that's what was missing), but if you wanna use rollup-plugin-typescript2 that's fine. I didn't use if for the starter because it touches TypeScript internals, and I prefer to have fresh and full control over it.
@alexjoverm thanks for the fix, I might use your setup too.
This starter is great, except for one thing. The generated files in
dist
point to files incompiled/
, which:src
Sample from a fresh build:
Unless I'm missing something, these source maps don't work for their intended purpose.
For now I ended up relying on rollup-plugin-typescript2, which seems to preserve maps to the original Typescript source files, but I don't know if I can trust it.
Cheers,