Skip to content

Commit db0b615

Browse files
committed
document the options for the optimizePlugin
1 parent dbdbd0e commit db0b615

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ plugins: [
3333
| Option | Type | Description
3434
|---|---|---
3535
| `concurrency` | `number\|false` | Maximum number of threads to use. Default: the number of available CPUs. <br>_Pass `false` for single-threaded, sometimes faster for small projects._
36+
| `sourceMap` | `boolean\|false` | Whether or not to produce source maps for the given input. |
37+
| `minify` | `boolean\|false` | Minify using Terser, if turned off only comments will be stripped. |
38+
| `downlevel` | `boolean\|true` | Produces a bundle for `nomodule` browsers. (IE11, ...) |
39+
| `verbose` | `boolean\|false` | Will log performance information and information about polyfills. |
40+
| `polyfillsFilename` | `string\|polyfills.legacy.js` | The name for the chunk containing polyfills for the legacy bundle. |
3641

3742

3843
## How does this work?

0 commit comments

Comments
 (0)