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 for .js and .ts files for arclix config #119

Open
4 tasks done
jitiendran opened this issue Oct 2, 2023 · 1 comment
Open
4 tasks done

Support for .js and .ts files for arclix config #119

jitiendran opened this issue Oct 2, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request p2-enhancement Significant enhancement to be developed
Milestone

Comments

@jitiendran
Copy link
Member

Description

Currently there is only support for arclix.config.json file, this is highly unsafe since anything can go under the config file and still the config file won't throw any error. So giving support to export the config object for .js and .ts files and deprecating json config files will solve this issue.

Suggested solution

Expose a function like defineArclixConfig publicly so that it can be imported and used to define the config properties and this also helps in getting autocomplete in IDE's and Code Editors in js/ts config files. Also make sure the support exist only for the files named arclix.config.js or arclix.config.ts

Alternative

No response

Additional context

No response

Validations

@jitiendran
Copy link
Member Author

[Triaged] Good to start the development 👍🏻

@jitiendran jitiendran added documentation Improvements or additions to documentation enhancement New feature or request p2-enhancement Significant enhancement to be developed and removed enhancement: pending triage labels Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request p2-enhancement Significant enhancement to be developed
Projects
None yet
Development

No branches or pull requests

1 participant