Skip to content

Commit

Permalink
Update CONFIGURATION.md (#1400)
Browse files Browse the repository at this point in the history
Partially resolves #1399
  • Loading branch information
Chudesnov committed Apr 25, 2024
1 parent 049a4cc commit 546ad6d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/CONFIGURATION.md
@@ -1,13 +1,13 @@
# Configuration

Linaria can be customized using a JavaScript, JSON or YAML file. This can be in form of:
Linaria uses [WyW-in-JS](https://wyw-in-js.dev) under the hood and can be customized using a JavaScript, JSON or YAML file. This can be in form of:

- `linaria.config.js` JS file exporting the object (recommended).
- `linaria` property in a `package.json` file.
- `.linariarc` file with JSON or YAML syntax.
- `.linariarc.json`, `.linariarc.yaml`, `.linariarc.yml`, or `.linariarc.js` file.
- `wyw-in-js.config.js` JS file exporting the object (recommended).
- `wyw-in-js` property in a `package.json` file.
- `.wyw-in-jsrc` file with JSON or YAML syntax.
- `.wyw-in-jsrc.json`, `.wyw-in-jsrc.yaml`, `.wyw-in-jsrc.yml`, or `.wyw-in-jsrc.js` file.

Example `linaria.config.js`:
Example `wyw-in-js.config.js`:

```js
module.exports = {
Expand Down

0 comments on commit 546ad6d

Please sign in to comment.