Skip to content

Commit 023dd90

Browse files
committed
Add note about external-stdlib config in libraries section
1 parent 03605d8 commit 023dd90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pages/docs/manual/latest/libraries.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ReScript libraries are just like JavaScript libraries: published & hosted on [NP
1414

1515
We recommend you to check in your compiled JavaScript output, for its [various benefits](interop-with-js-build-systems.md#popular-js-build-systems). If not, then at least consider publishing the JavaScript output by un-ignoring them in your [npmignore](https://docs.npmjs.com/cli/v7/using-npm/developers#keeping-files-out-of-your-package). This way, your published ReScript package comes with plain JavaScript files that JS users can consume. If your project's good, JS users might not even realize that they've installed a library written in ReScript!
1616

17+
In case your library is only consumed by JS users, you may want to check out our [external stdlib](./build-external-stdlib) configuration as well.
18+
1719
### Find Libraries
1820

1921
Search `rescript`-related packages on NPM, or use our [Package Index](/packages).

0 commit comments

Comments
 (0)