-
|
https://rspack.rs/config/module-rules#rulesuseparallel the weird thing is that our current |
Beta Was this translation helpful? Give feedback.
Answered by
mjames-c
Apr 9, 2026
Replies: 1 comment
-
|
Circling back, The problem with our setup was actually that {
exclude: [/node_modules/],
test: /\.css$/,
enforce: 'pre',
use: [
{
loader: require.resolve('css-loader'),
options: { ... },
ident: 'css',
parallel: true, // parallel: true must be set css-loader if also set on postcss-loader!
},
{
loader: require.resolve('postcss-loader'),
options: { ... },
ident: 'postcss',
parallel: true,
},
],
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mjames-c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Circling back,
postcss-loaderDOES work withparallel: true!The problem with our setup was actually that
postcss-loaderwas running inparallelbutcss-loaderwas not. Runningcss-loaderin the worker thread as well resolved the issue.