simplifyify
simplifyify copied to clipboard
Reuse included code's source maps when they exist
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 ?
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.