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

chore: fix issues encountered during CDK build #3242

Merged
merged 2 commits into from
Dec 9, 2021

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Dec 9, 2021

Fixes for some cases that were introduced in #3205, that cropped
up during a full CDK build:

  • Some @types/xxx modules use an exports field, changing the
    error we get when trying (and failing) to import it.
  • punycode is both an NPM dependency and a built-in. The built-in
    takes precedence and changes the return value of require.resolve()
    to something unexpected.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Fixes for some cases that were introduced in #3205, that cropped
up during a full CDK build:

- Some `@types/xxx` modules use an `exports` field, changing the
  error we get when trying (and failing) to import it.
- `punycode` is both an NPM dependency and a built-in. The built-in
  takes precedence and changes the return value of `require.resolve()`
  to something unexpected.
@rix0rrr rix0rrr requested a review from a team December 9, 2021 13:22
@rix0rrr rix0rrr self-assigned this Dec 9, 2021
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Dec 9, 2021
@rix0rrr rix0rrr merged commit bd33ff4 into main Dec 9, 2021
@rix0rrr rix0rrr deleted the huijbers/fix-jsii-imports branch December 9, 2021 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants