Skip to content

Commit e3dc28e

Browse files
committed
Remove yarn build from plugins dev. docs as yarn develop already builds
1 parent 1d29c10 commit e3dc28e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docusaurus/docs/dev-docs/plugins/development/create-a-plugin.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,12 @@ Once the plugin code has been generated and the plugin is enabled, the next step
145145
</TabItem>
146146
</Tabs>
147147

148-
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):
148+
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):
149149

150150
<Tabs groupId="yarn-npm">
151151
<TabItem value="yarn" label="Yarn">
152152

153153
```sh
154-
yarn build
155154
yarn develop
156155
```
157156

@@ -160,7 +159,6 @@ Once the plugin code has been generated and the plugin is enabled, the next step
160159
<TabItem value="npm" label="NPM">
161160

162161
```sh
163-
npm run build
164162
npm run develop
165163
```
166164

@@ -215,13 +213,12 @@ Once the plugin code has been generated and the plugin is enabled, the next step
215213

216214
This step transpiles the TypeScript files and outputs the JavaScript files to a `dist` directory that is unique to the plugin.
217215

218-
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):
216+
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):
219217

220218
<Tabs groupId="yarn-npm">
221219
<TabItem value="yarn" label="Yarn">
222220

223221
```sh
224-
yarn build
225222
yarn develop
226223
```
227224

@@ -230,7 +227,6 @@ Once the plugin code has been generated and the plugin is enabled, the next step
230227
<TabItem value="npm" label="NPM">
231228

232229
```sh
233-
npm run build
234230
npm run develop
235231
```
236232

0 commit comments

Comments
 (0)