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: adjust index import from apps compiling #53

Merged

Conversation

AllanPazRibeiro
Copy link
Contributor

This pull request enhances the resolvePath method within the TypescriptCompiler class. The method resolvePath is responsible for resolving file paths based on the containing file and module name. The improvement ensures that when a file is successfully resolved, it is directly pushed into the resolvedModules array with the appropriate structure.

Previously, the method only checked if the resolved path exists in theresult.filesobject. With this enhancement, if the resolved path exists, the corresponding object with the resolved filename is directly added to the resolvedModules array, simplifying the logic and improving readability.

@AllanPazRibeiro AllanPazRibeiro self-assigned this Mar 1, 2024
@AllanPazRibeiro AllanPazRibeiro requested a review from d-gubert March 1, 2024 19:23
@d-gubert d-gubert merged commit 9550db9 into master Mar 7, 2024
3 checks passed
@d-gubert d-gubert deleted the fix/SUP-160/fixing-apps-compiler-index-file-interpreting branch March 7, 2024 19:08
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.

3 participants