Closed nkomonen-amazon closed 1 day ago
When importing the codewhisperer exports module from index.ts in web mode it was breaking due to a transitive fs-extra import.
Export a separate module from indexCommon.ts for code that works in web or node. This file is a subset of index.ts, so behavior remains the same.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
@justinmk3 can we merge this now to unblock people while I make the changes we previously discussed
Problem:
When importing the codewhisperer exports module from index.ts in web mode it was breaking due to a transitive fs-extra import.
Solution:
Export a separate module from indexCommon.ts for code that works in web or node. This file is a subset of index.ts, so behavior remains the same.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.