-
Notifications
You must be signed in to change notification settings - Fork 69
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
Webpack 4: Cannot read property 'resolveUrlLoader' of undefined #79
Comments
@acoll This is something that was removed in webpack 4
@bholloway This is breaking for people that try to migrate to webpack 4. +1 for #80 |
Ok cool. Could you link to where you pulled that guideline? So based on that should the options be computed as I tried that and it seems to make more sense than my other change and loader.query contains the options i'm setting in my webpack config. |
Unfortunately, there are no specific anchors, but it's in the release notes of webpack 4. About your comment, |
Now when webpack 4.0.0 was released. |
Thanks everyone.
Unfortunately I’m AFK for another week. Sorry I didn’t anticipate this.
Let me see what I can do to get the fix published in the meantime.
|
I also have this issue PR: julkue/form-components#9 |
I have the same issue after upgrading to Webpack 4 |
@bholloway What's the status? |
Same thing here. Any news? |
I'm using this fix temporarily:
|
Sorry for the delay. I'm hot off the plane and at the keyboard right now. Please follow #80. |
Thanks to @acoll the fix is now on npm i bholloway/resolve-url-loader (unpublished but version is optimistically There are only minor changes to what was tested in #80 and should just work. I have checked a legacy Webpack 1 project and that is good but that is all I have to hand right now. (My apologies I really need to get a good matrix of automated testing) |
Thanks a lot @bholloway! I just tested it on one of my apps and the unpublished |
The latest |
Thanks @alexdevero @cascornelissen. Published as Please let me know any immediate problems here. Thanks for the contribution to this issue. |
@bholloway The release is not on GitHub, only on npm. |
It looks like loader.options is undefined on https://github.com/bholloway/resolve-url-loader/blob/master/index.js#L39 when using webpack 4.0.0-beta.2.
I'm not sure if this is a problem with resolver-url-loader or with webpack.
The text was updated successfully, but these errors were encountered: