From 63f3a4c5207338607cfa827bdb8eb7fc86ca4e45 Mon Sep 17 00:00:00 2001 From: Vincenzo Scamporlino Date: Fri, 22 Dec 2023 22:17:02 +0100 Subject: [PATCH] docs: clarify where extension creators should live Signed-off-by: Vincenzo Scamporlino --- docs/frontend-system/architecture/03-extensions.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/frontend-system/architecture/03-extensions.md b/docs/frontend-system/architecture/03-extensions.md index 817426d19d..c1cff4d4f2 100644 --- a/docs/frontend-system/architecture/03-extensions.md +++ b/docs/frontend-system/architecture/03-extensions.md @@ -321,14 +321,9 @@ For more information on naming of extension refer to the [naming patterns docume ### Extension Creators in libraries -Extension creators should be exported from library packages (e.g. `*-react`, `*-common`) rather than plugin packages. +Extension creators should be exported from frontend library packages (e.g. `*-react`) rather than plugin packages. - +If an extension is only for in-house tweaks, it's okay to put it in the plugin package. But if you want other open source plugins to use it, or you already have a `-react` package, always put extension creators in the `-react` package. ## Extension Boundary