Skip to content

Commit dbe5ecb

Browse files
committed
Add serializedCompile documentation
1 parent fa59e26 commit dbe5ecb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,15 @@ if you are trying to override the entry in webpack.config.js with other unsuppor
512512
The individual packaging needs more time at the packaging phase, but you'll
513513
get that paid back twice at runtime.
514514

515+
#### Individual packaging serializedCompile
516+
```yaml
517+
# serverless.yml
518+
custom:
519+
webpack:
520+
serializedCompile: true
521+
```
522+
Will run each webpack build one at a time which helps reduce memory usage and in some cases impoves overall build performance.
523+
515524
## Usage
516525

517526
### Automatic bundling

0 commit comments

Comments
 (0)