feat: add cli build parallel flag

This commit is contained in:
Andrew Thauer
2020-10-14 13:13:13 -04:00
parent 11000d903f
commit 72f6cda358
11 changed files with 156 additions and 4 deletions
+12
View File
@@ -0,0 +1,12 @@
---
'@backstage/cli': minor
---
Adds a new `BACKSTAGE_CLI_BUILD_PARELLEL` environment variable to control
parallelism for some build steps.
This is useful in CI to help avoid out of memory issues when using `terser`. The
`BACKSTAGE_CLI_BUILD_PARELLEL` environment variable can be set to
`true | false | [integer]` to override the default behaviour. See
[terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin#parallel)
for more details.