Skip to content

Commit

Permalink
Add serializedCompile documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
asprouse committed Jun 14, 2019
1 parent 99f6401 commit d4db9e9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,15 @@ if you are trying to override the entry in webpack.config.js with other unsuppor
The individual packaging needs more time at the packaging phase, but you'll
get that paid back twice at runtime.

#### Individual packaging serializedCompile
```yaml
# serverless.yml
custom:
webpack:
serializedCompile: true
```
Will run each webpack build one at a time which helps reduce memory usage and in some cases impoves overall build performance.

## Usage

### Automatic bundling
Expand Down

0 comments on commit d4db9e9

Please sign in to comment.