Skip to content

Commit

Permalink
docs: add note describing CJS config file usage
Browse files Browse the repository at this point in the history
  • Loading branch information
adelsz authored Feb 2, 2023
1 parent 6a42913 commit 328c0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-new/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 328c0d3

Please sign in to comment.