Skip to content

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

@jitiendran

Description

@jitiendran

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestp2-enhancementSignificant enhancement to be developed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions