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

Use thread-loader to build js and css #169

Open
3y3 opened this issue Dec 18, 2024 · 2 comments
Open

Use thread-loader to build js and css #169

3y3 opened this issue Dec 18, 2024 · 2 comments

Comments

@3y3
Copy link

3y3 commented Dec 18, 2024

Is there any reason to not use thread-loader for build speed optimization?

@korvin89
Copy link

сс @ValeraS

@obenjiro
Copy link
Contributor

Loaders running in a worker pool are limited. Examples:

Loaders cannot emit files.
Loaders cannot use custom loader API (i. e. by plugins).
Loaders cannot access the webpack options.

Some of that may be a blocker, but i think main reason NOT to use it is this
webpack-contrib/thread-loader#98 (comment)

thread-loader has low priority now, we focus on webpack@5 and compatibility, but this will be fixed, we want to use thread-loader as playground for future multithreading in webpack

Last useful commit was September 19th. Looks like this project is not in active development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants