Skip to content

Conversation

@lforst
Copy link

@lforst lforst commented Oct 5, 2023

Fixes #413

When inject files are defined in esbuild we will inject debug IDs into those files. This means we will have 2+ debug IDs in the output bundles which will potentially mess up our upload logic and debug ID association.

With this PR we skip proxying injected modules therefore only injecting one debug ID per entrypoint (which is the desired outcome).

@lforst lforst requested review from Lms24 and mydea October 5, 2023 10:41
…ilty' into lforst-dont-inject-debug-ids-in-inject-files
@lforst lforst changed the base branch from lforst-add-integration-test-for-esbuild-inject-compatibilty to main October 5, 2023 11:51
@lforst lforst merged commit cc7fb44 into main Oct 5, 2023
@lforst lforst deleted the lforst-dont-inject-debug-ids-in-inject-files branch October 5, 2023 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

esbuild-plugin overrides injected variables

3 participants