-
-
Notifications
You must be signed in to change notification settings - Fork 210
Fix loader context #135
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
Fix loader context #135
Conversation
|
Not sure what you mean with |
Loader options are deprecated (because of webpack bug). Config: https://github.com/postcss/postcss-loader#usage Webpack instance: https://github.com/postcss/postcss-loader#dynamic-config |
Not entirely sure I understand why this would be the case. Either way, the |
webpack loader context is in module.exports = function (ctx) { |
Here is more docs about |
So I am not sure what At this point, in the direct context of the exported function called by webpack, Now, when we're inside The bug was introduced in this commit, when the options function call was extracted into a different file which didn't have the correct loader context. Hope this makes sense! |
@ai updated CHANGELOG.md and package.json locally, can you approve patch release on npm please ? :) |
I told that I am sleeping 😉 I anyway planned to merge it and release tomorrow. |
You're sleeping as it seems 😛 , but sry I didn't see it, not to make any stress here, can I push CHANGELOG and pkg version bump with 'Release 1.1.1 version' or better you do it tomorrow :)? |
I will do it tomorrow |
But can't make npm patch release anyways. Sleep well @ai kk discared |
@jescalan released as 1.1.1. But note, that loader |
@ai @michael-ciniawsky thanks so much guys for the quick response and release! 🎉 |
Thank you for fix :) |
This resolves a bug in which the webpack loader context was not being passed correctly to the options parsing function.