From e3dc28e4527dc97b8fb730bf06c28974dca2e4b3 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Tue, 19 Dec 2023 13:52:54 +0100 Subject: [PATCH] Remove yarn build from plugins dev. docs as yarn develop already builds --- .../docs/dev-docs/plugins/development/create-a-plugin.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docusaurus/docs/dev-docs/plugins/development/create-a-plugin.md b/docusaurus/docs/dev-docs/plugins/development/create-a-plugin.md index aab1c8efff..e930d30809 100644 --- a/docusaurus/docs/dev-docs/plugins/development/create-a-plugin.md +++ b/docusaurus/docs/dev-docs/plugins/development/create-a-plugin.md @@ -145,13 +145,12 @@ Once the plugin code has been generated and the plugin is enabled, the next step -3. Navigate back to the Strapi project root with `cd ../../..` and run the following commands to build the admin panel and start the server(s): +3. Navigate back to the Strapi project root with `cd ../../..` and run the following command to build the admin panel and start the server(s): ```sh - yarn build yarn develop ``` @@ -160,7 +159,6 @@ Once the plugin code has been generated and the plugin is enabled, the next step ```sh - npm run build npm run develop ``` @@ -215,13 +213,12 @@ Once the plugin code has been generated and the plugin is enabled, the next step This step transpiles the TypeScript files and outputs the JavaScript files to a `dist` directory that is unique to the plugin. -4. Navigate back to the Strapi project root with `cd ../../..` and run the following commands to build the admin panel and start the server(s): +4. Navigate back to the Strapi project root with `cd ../../..` and run the following command to build the admin panel and start the server(s): ```sh - yarn build yarn develop ``` @@ -230,7 +227,6 @@ Once the plugin code has been generated and the plugin is enabled, the next step ```sh - npm run build npm run develop ```