title | issue |
---|---|
Add sync theme compile CLI option |
NEXT-34730 |
- Changed
theme:compile
andtheme:change
command to accept--sync
option to compile themes synchronously. The--sync
option is useful for CI/CD pipelines, when at runtime themes should be compiled async, but during the build process you want sync generation.
The theme:compile
and theme:change
command now accept --sync
option to compile themes synchronously. The --sync
option is useful for CI/CD pipelines, when at runtime themes should be compiled async, but during the build process you want sync generation.