Support for .js and .ts files for arclix config #119
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
p2-enhancement
Significant enhancement to be developed
Milestone
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 namedarclix.config.js
orarclix.config.ts
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: