Skip to content

Commit

Permalink
Merge pull request #64 from wiresio/patch-3
Browse files Browse the repository at this point in the history
Yarn to reduce memory footprint
  • Loading branch information
sebastiankb authored Jan 25, 2019
2 parents 91fac63 + 57b0cf5 commit e92838c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ sudo npm link wot-typescript-definitions
```
(On Windows omit `sudo`)

#### Optimization

To reduce the size of the installation from about 800 MByte down to about 200 MByte, you can run the following commands (currently only tested on Linux):
- yarn init
- yarn add [packages]
- npm run build
- lerna exec 'npm prune --production'

## Trouble shooting

* Build error around `node-aead-crypto`
Expand Down

0 comments on commit e92838c

Please sign in to comment.