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 stryker.conf[.cjs|.mjs] by default #3408

Closed
nicojs opened this issue Feb 1, 2022 · 1 comment
Closed

Support stryker.conf[.cjs|.mjs] by default #3408

nicojs opened this issue Feb 1, 2022 · 1 comment
Labels
🚀 Feature request New feature request
Milestone

Comments

@nicojs
Copy link
Member

nicojs commented Feb 1, 2022

Is your feature request related to a problem? Please describe.
Since we're planning to support native ESM from Stryker v6 onward I think it makes sense to also support stryker.conf.mjs by default (when stryker.conf.json and stryker.conf.js is missing). This will allow projects to define their config as esm. While we're at it, we might as well support stryker.conf.cjs .

Describe the solution you'd like
The config loader should handle these new extensions.

Describe alternatives you've considered
Not supporting these extensions, but that is not a good user experience IMO.

Additional context
This should be merged in the epic/esm branch.

@nicojs nicojs added the 🚀 Feature request New feature request label Feb 1, 2022
@nicojs nicojs added this to the 6.0 milestone Feb 1, 2022
@nicojs
Copy link
Member Author

nicojs commented Feb 18, 2022

Fixed with #3432

To be released in V6

@nicojs nicojs closed this as completed Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature request
Projects
None yet
Development

No branches or pull requests

1 participant