From 0862b9c2cb0c544a817d8d9fafbdd0e270c5c5e6 Mon Sep 17 00:00:00 2001 From: Igor Kamyshev Date: Fri, 26 Apr 2024 18:55:00 +0700 Subject: [PATCH] Simplify factories installation docs --- apps/website/docs/factories/index.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/apps/website/docs/factories/index.md b/apps/website/docs/factories/index.md index 9d919479..9bfa292b 100644 --- a/apps/website/docs/factories/index.md +++ b/apps/website/docs/factories/index.md @@ -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"]] } ``` @@ -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"]] } } }