Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add webpack's maxWorkers option to rspack's project configuration #224

Open
dgmachado opened this issue Apr 19, 2023 · 0 comments
Open

Add webpack's maxWorkers option to rspack's project configuration #224

dgmachado opened this issue Apr 19, 2023 · 0 comments
Labels
enhancement New feature or request scope:rspack

Comments

@dgmachado
Copy link
Contributor

What problem does this feature solve?

The maxWorkers option can be configured in project.json file and consumed by the Webpack. It's desirable that this option is supported by Rspack.

maxWorkers
Number of workers to use for type checking. (defaults to # of CPUS).

What does the proposed API of configuration look like?

         "options": {
              ...,
              "maxWorkers": 1,
              "memoryLimit": 2048,
              "generatePackageJson": false,
              ...,
         }
@mandarini mandarini added enhancement New feature or request scope:rspack labels Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scope:rspack
Projects
None yet
Development

No branches or pull requests

2 participants