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
Description
Currently there is only support for
arclix.config.jsonfile, 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
defineArclixConfigpublicly 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.jsorarclix.config.tsAlternative
No response
Additional context
No response
Validations