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

Support *.config (without explicit extension) #185

Open
pi0 opened this issue Aug 27, 2024 · 0 comments
Open

Support *.config (without explicit extension) #185

pi0 opened this issue Aug 27, 2024 · 0 comments

Comments

@pi0
Copy link
Member

pi0 commented Aug 27, 2024

Describe the feature

Just an idea while was making this c12 could support configs with any format to be written in foo.config files.

Supporting implicit extensions has downsides, first to say:

  • IDEs don't know how to parse it unless it is predefined for them
  • Explicit extensions are not clear

On the other hands, c12 can give a powerful thing to support a lot of extensions with 2 try catches (load via mdbox -> jiti) which is not expensive.

@pi0 pi0 added the discussion label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant