-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Issue with css-loader when passing options with function prop #58
Comments
@sokra @ericclemmons , I know you are super busy. But please take a look of this issue. I already created minimum reproduce configuration for you. Please give me some ideas how to resolve it, or what's the root cause. |
This can't be fixed by design. Closures are not transferrable cross thread/process. But you can move the thread-loader after the css-loader to run sass and postcss in parallel. |
Thanks for your reply. I will adjust the order of loaders. |
@sokra Thanks very much , the bug when use (thread-loader|cache-loader) with css-loader togather, It will ignore css-loader options as |
Environment
Description
![image](https://user-images.githubusercontent.com/1590707/52030560-66e04d80-2553-11e9-9eba-b3201be4ce47.png)
The
getLocalIdent
which is a custom function in the option of css-loader. It appear in the thread-loader option but not in the css-loader option. As below image shows:loader configuration:
It works fine without thread-loader, so I think this should be thread-loader issue.
Please checkout sample repo and test it
The text was updated successfully, but these errors were encountered: