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

fix(credential-provider-web-identity): exclude node.js files for web #3005

Conversation

AllanZhengYP
Copy link
Contributor

Description

Found as part of bundler test: AllanZhengYP#195
The Web Identity Credential Provider contains both Node.js-specific module and browser-specific module. It causes the bundlers like Webpack to fail with cannot resolve 'fs' module. This change exclude the files that requires node.js specific module.

Testing

Tested with bundler test.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP changed the title fix(credential-provider-web-identity): exclude node.js files for browsers fix(credential-provider-web-identity): exclude node.js files for web Nov 8, 2021
@AllanZhengYP AllanZhengYP merged commit 7ba033a into aws:main Nov 11, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants