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

Add index resolution for configuration files #572

Closed
basmasking opened this issue Dec 18, 2024 · 1 comment · Fixed by #590
Closed

Add index resolution for configuration files #572

basmasking opened this issue Dec 18, 2024 · 1 comment · Fixed by #590
Assignees
Labels
feature New feature or request

Comments

@basmasking
Copy link
Member

Nodejs support index resolution for importing modules to make it easier for developer to define code and exports in an index.js file. Node and other tools automatically resolve the index.js in case the import path is set to a folder location.

Our configuration setup currently doesn't have this feature. This results in manually defining a file (we use module.js ourselves for this), to import it explicitly.

With the support of index resolution we enable the developers to create configuration files that match their way of work in nodejs.

@basmasking basmasking added the feature New feature or request label Dec 18, 2024
@basmasking basmasking self-assigned this Dec 18, 2024
basmasking added a commit that referenced this issue Dec 19, 2024
basmasking added a commit that referenced this issue Dec 23, 2024
@basmasking
Copy link
Member Author

Left todo:

  • resources index resolution
  • segment index resolution

basmasking added a commit that referenced this issue Jan 2, 2025
So the naming convention is not required anymore.
basmasking added a commit that referenced this issue Jan 2, 2025
basmasking added a commit that referenced this issue Jan 3, 2025
basmasking added a commit that referenced this issue Jan 3, 2025
basmasking added a commit that referenced this issue Jan 3, 2025
basmasking added a commit that referenced this issue Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant