Skip to content

Commit 448cac7

Browse files
Merge pull request #412 from dynamsoft-docs/a362758199-patch-1
Update index.md
2 parents 630ded5 + b625392 commit 448cac7

File tree

1 file changed

+3
-2
lines changed
  • programming/javascript/user-guide

1 file changed

+3
-2
lines changed

programming/javascript/user-guide/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,9 @@ Besides using the public CDN, you can also download the SDK and host its files o
269269
npm i dynamsoft-image-processing@2.4.20 -E
270270
```
271271
272-
The resources are located at the path `node_modules/<pkg>`, without `@<version>`. You need to copy "dynamsoft-xxx" packages elsewhere and add `@<version>`. `<version>` can be get from `package.json` of each package.
273-
272+
The resources are located at the path `node_modules/<pkg>`, without `@<version>`. You need to copy "dynamsoft-xxx" packages elsewhere and add `@<version>`. The `<version>` can be obtained from `package.json` of each package. One more thing to do is to [specify the engineResourcePaths](#2-optional-specify-the-location-of-the-engine-files) so that the SDK can locate the resources correctly.
273+
> To avoid confusion, we suggest renaming "node_modules" or moving "dynamsoft-" packages elsewhere for self-hosting, as "node_modules" is reserved for Node.js dependencies.
274+
274275
You can typically include SDK like this:
275276
276277
```html

0 commit comments

Comments
 (0)