Skip to content

fix(esbuild): fix error names by setting keepNames - #8965

Merged
Jolg42 merged 2 commits into
mainfrom
integration/esbuild-keep-names
Aug 27, 2021
Merged

Jolg42 merged 2 commits into
mainfrom
integration/esbuild-keep-names

Conversation

@williamluke4

@williamluke4 williamluke4 commented Aug 27, 2021 •

Copy link
Copy Markdown

fixes #7035
image

@williamluke4
williamluke4 requested a review from millsp August 27, 2021 12:00
@williamluke4
williamluke4 marked this pull request as ready for review August 27, 2021 12:02
platform: 'node',
target: 'es2018',
external: ['_http_common'],
keepNames: true,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That was easy 😆

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice and easy! I like it a lot <3

@Jolg42 Jolg42 added this to the 2.31.0 / 3.0.x milestone Aug 27, 2021
@Jolg42
Jolg42 merged commit e6ac86b into main Aug 27, 2021
@Jolg42
Jolg42 deleted the integration/esbuild-keep-names branch August 27, 2021 13:07
@janpio

janpio commented Aug 27, 2021

Copy link
Copy Markdown
Contributor

We should have tests that snapshot the error output, so a regression here would be noticed.

@janpio

janpio commented Aug 27, 2021

Copy link
Copy Markdown
Contributor

#8972

@Jolg42

Jolg42 commented Aug 27, 2021

Copy link
Copy Markdown
Contributor

Yes indeed

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.

Error classes are wrapped twice

3 participants