Skip to content

Commit 57894ed

Browse files
committed
add documentation about npm run build
1 parent 1c52249 commit 57894ed

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ npx prettier --write path/to/file
5757

5858
For more options with the command line, refer to the [Prettier Documentation](https://prettier.io/docs/en/cli.html)
5959

60+
## Building the Library
61+
62+
To build the ml5 library for production, run the following commands
63+
64+
```
65+
npm install
66+
npm run build
67+
```
68+
69+
This will create a production version of the library in `/dist` directory.
70+
6071
## Process
6172

6273
_This section explains how this repository was creates and is for reference purposes only. The steps outlines in this section do not need to be followed by contributors._

0 commit comments

Comments
 (0)