-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Incorrect LoaderOptionsPlugin format in Readme #176
Comments
Hey @ddgromit , could you post a full working example of your stylus-loader settings and your plugins? Because I tried it like this and haven't got it working:
In the output I can see it reaches When I try to use the variable in an .styl-file like this, it doesn't get replaced:
I don't have much experience with stylus so I'm wondering if it should work this way or if I'm completely wrong^^ |
@janein I don't use
|
sorry for not responding - seems like I got it working with your help and didn't say thank you :( Thanks again for your help! |
|
The readme section for using LoaderOptionsPlugin with Webpack V2 says:
This format is incorrect and the configuration will not get loaded, and not throw any errors about it. Specifically the
test
field doesn't do anything and thestylus
block must be wrapped in anoptions
field. From the webpack docs, here's the correct format:Also referenced in issue #149.
The text was updated successfully, but these errors were encountered: