You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Default:**`0` (does not create any workers and run in the main thread)
282
+
-**Default:**`true`
283
+
284
+
Specifies the maximum number of threads CSS preprocessors can use. `true` means up to the number of CPUs minus 1. When set to `0`, Vite will not create any workers and will run the preprocessors in the main thread.
284
285
285
-
If this option is set, CSS preprocessors will run in workers when possible. `true` means the number of CPUs minus 1.
286
+
Depending on the preprocessor options, Vite may run the preprocessors on the main thread even if this option is not set to `0`.
0 commit comments