Skip to content

Commit dede7de

Browse files
author
Dildorakhon Ganieva
committed
Uodate readme after review
1 parent 371cc4b commit dede7de

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ For plugins created with the old template (SDK 1.1.1), replace the build script
3737
"build": "webpack && npx build-docspace-plugin"
3838
```
3939

40+
:::note
41+
To ensure the new npx command works correctly, you need to update the globally installed *@onlyoffice/docspace-plugin-sdk* package to version 2.0.0 or higher.
42+
:::
43+
4044
## Building a plugin
4145

4246
To build a plugin, you need the *yarn* package manager to be installed. After that, follow the instructions below:
@@ -61,4 +65,6 @@ yarn build
6165

6266
This command generates the obfuscated code from the entire project and collects it into the *plugin.js* file using the *webpack* npm package.
6367

64-
The *dist* folder will be created in the root plugin folder and the plugin archive will be placed in it. This archive is the completed plugin that can be uploaded to the DocSpace portal.
68+
The *dist* folder will be created in the root plugin folder and the plugin archive will be placed in it. This archive is the completed plugin that can be uploaded to the DocSpace portal.
69+
70+
The old *createZip* script is no longer required and can be safely removed.

0 commit comments

Comments
 (0)