Skip to content

fix(builtin): always install source-map-support#2538

Merged
alexeagle merged 1 commit into
bazel-contrib:stablefrom
alexeagle:i2520
Mar 17, 2021
Merged

fix(builtin): always install source-map-support#2538
alexeagle merged 1 commit into
bazel-contrib:stablefrom
alexeagle:i2520

Conversation

@alexeagle

Copy link
Copy Markdown
Collaborator

We previously did this when patch_module_resolver was the default, because it had some extra (unrelated) logic at the end to install it.
When we flipped the default in 3.0, we accidentally dropped the feature.

This just reinstates it using the source-map-support/register feature.
Similarly to our prior implementation, we just call our own vendored source-map-support so users don't have to think about it.

Also fix missing docs for npm_package_bin attrs stdout,stderr,exit_code_out

Fixes #2520

We previously did this when patch_module_resolver was the default, because it had some extra (unrelated) logic at the end to install it.
When we flipped the default in 3.0, we accidentally dropped the feature.

This just reinstates it using the source-map-support/register feature.
Similarly to our prior implementation, we just call our own vendored source-map-support so users don't have to think about it.

Also fix missing docs for npm_package_bin attrs stdout,stderr,exit_code_out

Fixes bazel-contrib#2520
@alexeagle

Copy link
Copy Markdown
Collaborator Author

@joeljeske this is a followup to our discussion #2448 (comment)

@mattem mattem left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test failure looks like a flake on Windows

@alexeagle
alexeagle merged commit 97b3886 into bazel-contrib:stable Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sourcemaps is broken after v3 upgrade

2 participants