Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse included code's source maps when they exist #23

Open
ceymard opened this issue Sep 15, 2017 · 1 comment
Open

Reuse included code's source maps when they exist #23

ceymard opened this issue Sep 15, 2017 · 1 comment

Comments

@ceymard
Copy link

ceymard commented Sep 15, 2017

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 ?

@JamesMessinger
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants