Skip to content

Commit

Permalink
Simplify factories installation docs
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev committed Apr 26, 2024
1 parent 8f207d0 commit 0862b9c
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions apps/website/docs/factories/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ Second, you need to add `@withease/factories` to the config of [`effector/babel-

```json [effector/babel-plugin]
{
"plugins": [
["effector/babel-plugin", { "factories": ["@withease/factories"] }]
]
"plugins": [["effector/babel-plugin"]]
}
```

Expand All @@ -49,14 +47,7 @@ Second, you need to add `@withease/factories` to the config of [`effector/babel-
"$schema": "https://json.schemastore.org/swcrc",
"jsc": {
"experimental": {
"plugins": [
[
"@effector/swc-plugin",
{
"factories": ["@withease/factories"]
}
]
]
"plugins": [["@effector/swc-plugin"]]
}
}
}
Expand Down

0 comments on commit 0862b9c

Please sign in to comment.