Skip to content

Commit 2154129

Browse files
committed
docs
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 5d94ced commit 2154129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ bom.components.add(componentA)
157157
bom.metadata.component.dependencies.add(componentA.bomRef)
158158
```
159159

160-
To ensure optimal **bundling** and **tree‑shaking**, import only the symbols you actually need from the library’s published [entry points](https://nodejs.org/api/packages.html#package-entry-points). You can find all available entry points in the `exports` field of the package’s `package.json`.
160+
To ensure optimal **tree‑shaking** when **bundling**, import only the symbols you actually need from the library’s published [entry points](https://nodejs.org/api/packages.html#package-entry-points). You can find all available entry points in the `exports` field of the package’s `package.json`.
161161

162162
```javascript
163163
const { Bom, Component } = require('@cyclonedx/cyclonedx-library/Models')

0 commit comments

Comments
 (0)