Skip to content

Commit 8172f64

Browse files
authored
Update optimize-builds-for-production.md
1 parent f884391 commit 8172f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spfx/toolchain/optimize-builds-for-production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Specifically with regards to Lodash, but that could also be the case with other
118118
Currently, Lodash doesn't support loading specific methods inside SharePoint Framework projects by using the `import` notation. Instead, you have to use a `require` statement, which doesn't offer you the type safety capabilities that using the `import` statement does. Eventually, it's up to you to decide if loading more code into your bundles is worth preserving the type safety capabilities.
119119

120120
> [!NOTE]
121-
> Some of the Lodash methods are provided with the SharePoint Framework in the **\@microsoft/sp-lodash-subset** library. Before using Lodash, verify if the method that you want to use isn't already available in the **\@microsoft/sp-lodash-subset** library, which is already available as a part of the SharePoint Framework and does not need to be included in your bundle.
121+
> Some of the Lodash methods are provided with the SharePoint Framework in the **\@microsoft/sp-lodash-subset** library. Before using Lodash, verify if the method that you want to use isn't already available in the **\@microsoft/sp-lodash-subset** library, which is already available as a part of the SharePoint Framework and does not need to be included in your bundle. This package is automatically loaded on each SharePoint page.
122122
123123
## See also
124124

0 commit comments

Comments
 (0)