Skip to content

Commit 6807e30

Browse files
Merge pull request #413 from dynamsoft-docs/a362758199-patch-1
Update index.md
2 parents 448cac7 + 76f9ced commit 6807e30

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

programming/javascript/user-guide/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ Besides using the public CDN, you can also download the SDK and host its files o
269269
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>`. 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.
272+
The resources are located at the path `node_modules/<pkg>`, without `@<version>`. You must copy "dynamsoft-xxx" packages elsewhere and add `@<version>`. The `<version>` can be obtained from `package.json` of each package. Another thing to do is to [specify the engineResourcePaths](#2-optional-specify-the-location-of-the-engine-files) so that the SDK can correctly locate the resources.
273+
> Since "node_modules" is reserved for Node.js dependencies, and in our case the package is used only as static resources, we recommend either renaming the "node_modules" folder or moving the "dynamsoft-" packages to a dedicated folder for static resources in your project to facilitate self-hosting.
274274
275275
You can typically include SDK like this:
276276

0 commit comments

Comments
 (0)