Skip to content
This repository was archived by the owner on Oct 2, 2021. It is now read-only.
This repository was archived by the owner on Oct 2, 2021. It is now read-only.

Handle sources referenced in multiple sourcemaps #315

Open

Description

@roblourens

In rare cases, scripts can be referenced in multiple sourcemaps. Example, the TS repo references scripts in built/local/run.js, and built/local/tsserverlibrary.js

We will only bind the BP in a random one of these scripts.

In the TS case that prompted this, they don't actually load both scripts, but this prevents us from using an outFiles pattern like "built/local/**/*.js"

Activity

  1. self-assigned this
    on Mar 23, 2018
  2. added a commit that references this issue on Oct 11, 2018
    b5f01e9
  3. rosen-vladimirov commented on Oct 28, 2019

    @rosen-vladimirov

    Hey guys,
    Is there any update on this issue. Recently it is pretty easy to have the same file referenced in different source maps - just import the same file in two entry points of webpack compilation and you'll hit it. This breaks debugging in a really unexpected way.
    Can we do something to handle this case? Is it planned for one of the next releases?

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions