Skip to content

Commit

Permalink
Add serializedCompile documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
asprouse committed Jul 10, 2020
1 parent a46e8ec commit 0cf085d
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 0cf085d

Please sign in to comment.