-
-
Notifications
You must be signed in to change notification settings - Fork 211
options has an unknown property 'config' #472
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
Comments
Same issue here. Our workflows are completely blocked cause this and we had to revert it. |
Yup had to roll back to v3, this is broken in v4 |
Please read documentation and changelog before open the new issue: const style = {
'test': /\.scss$/,
'use': [
'style-loader',
{
'loader': 'css-loader',
'options': {
'sourceMap': true,
},
},
{
'loader': 'postcss-loader',
'options': {
// All postcss options is now under `postcssOptions`
'postcssOptions': {
'config': path.resolve(PATHS.config, 'postcss.config.js'),
},
'sourceMap': true,
},
},
{
'loader': 'sass-loader',
'options': {
'sourceMap': true,
},
},
],
}; |
@evilebottnawi please tell me who told you I didn't read the documentation? |
@in-in my mistake, sorry, WIP on updating docs |
@evilebottnawi Next time, as OOS developer, can i suggest that if 3 people share the same issue probably there is something better to say instead of "read the documentation" because you're assuming that 3 people are just stupid. Said that, thanks for the fast update. |
Unfortunately sometimes I get a lot more issues, because many developers don't like read notes, I can provide an infinite number of links to this 😄 Anyway I done mistake here |
Thank's :-) |
After updating postcssOptions i got javascript heap memory error |
Expected Behavior
Set custom config files
Actual Behavior
Code
According to the documentation, the code above should work.
How Do We Reproduce?
Try using the "config" option for postcss-loader
The text was updated successfully, but these errors were encountered: