Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Conversation

@rehanshkh5
Copy link

The code you provided is correct and doesn't require any corrections. It defines a function getModulePaths that reads the contents of a directory and looks for specific module files with different extensions. It then exports another function getInputFiles that returns an array of input file paths, including the main index.ts file and the module paths obtained from getModulePaths.

The code should work as expected, returning the array of input file paths based on the provided logic.
Make sure to use this code within an environment that supports the ES module syntax (e.g., Node.js with ES module support or a bundler like webpack with the appropriate configuration).

[Shaikh Rehan Shamimpasha] added 2 commits May 18, 2023 20:45
… It defines a function getModulePaths that reads the contents of a directory and looks for specific module files with different extensions. It then exports another function getInputFiles that returns an array of input file paths, including the main index.ts file and the module paths obtained from getModulePaths.

The code should work as expected, returning the array of input file paths based on the provided logic.
… It defines a function getModulePaths that reads the contents of a directory and looks for specific module files with different extensions. It then exports another function getInputFiles that returns an array of input file paths, including the main index.ts file and the module paths obtained from getModulePaths.

The code should work as expected, returning the array of input file paths based on the provided logic.
@rehanshkh5 rehanshkh5 requested a review from a team May 18, 2023 15:21
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.

1 participant