From 328c0d3e359ac8cc57a7685aa74905aedd70eb83 Mon Sep 17 00:00:00 2001 From: Adel Salakh Date: Thu, 2 Feb 2023 13:27:43 +0100 Subject: [PATCH] docs: add note describing CJS config file usage --- docs-new/docs/cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-new/docs/cli.md b/docs-new/docs/cli.md index aba80cde..e5349b20 100644 --- a/docs-new/docs/cli.md +++ b/docs-new/docs/cli.md @@ -76,7 +76,7 @@ For a full list of options, see the [Configuration file format](#configuration-f ``` :::note -Configuration file can be also be written in JS format and default exported as an object. +Configuration file can be also be written in CommonJS format and default exported as an object. If your project is of ESM type then you will need to give the config file a `.cjs` extension instead of `.js`. ::: ### Configuration file format