simplifyify icon indicating copy to clipboard operation
simplifyify copied to clipboard

Reuse included code's source maps when they exist

Open ceymard opened this issue 8 years ago • 1 comments

When using simplifyify on a project that was already pre compiled with typescript, the source maps that were generated then are not reused.

Instead, a new sourcemap referencing the generated js is created.

Could simplifyify detect the source maps when they exist instead of attempting to recreate a new one ?

ceymard avatar Sep 15 '17 12:09 ceymard

I'm not sure if that's possible, but it's worth looking into. Simplifyify is just a wrapper around Browserify, so it'll depend on whether there's a way to make browserify use existing sourcemaps.

ghost avatar Sep 21 '17 19:09 ghost