Uh oh!
There was an error while loading. Please reload this page.
Support scss absolute path resolution for url() - #7937
Conversation
ulrichb
commented
Nov 6, 2019
... build error (Cannot find module '@babel/helper-create-regexp-features-plugin') seems to be unrelated with the change in this PR. |
atlanteh
commented
Nov 6, 2019
Yes, it's not related. Build is broken for the last 24 hours |
atlanteh
commented
Nov 12, 2019
@skrzepij thanks for approving the PR! |
atlanteh
commented
Nov 27, 2019
any update on this? We can't run CI ever since this issue occurred as we need this fix in order for CI to work properly |
mrmckeb
commented
Dec 1, 2019
@atlanteh Can you please rebase and push up again - the CI should work now. |
atlanteh
commented
Dec 1, 2019
@mrmckeb All passed :) |
mrmckeb
commented
Dec 1, 2019
I'm OK with this change, @ianschmitz or @iansu - any thoughts? |
atlanteh
commented
Dec 5, 2019
@mrmckeb@ianschmitz@iansu |
atlanteh
commented
Dec 17, 2019
Any update? |
atlanteh
commented
Dec 21, 2019
?? |
atlanteh
commented
Jan 7, 2020
Can this PR be merged please? |
atlanteh
commented
Jan 12, 2020
@skrzepij@mrmckeb@ianschmitz@iansu |
mrmckeb
commented
Jan 13, 2020
I've tagged this for 3.4 so someone should review and merge it before that release. Sorry for the delay, a lot of the team are only returning after Christmas break. |
atlanteh
commented
Jan 13, 2020
Thanks! |
atlanteh
commented
Feb 23, 2020
Can you guys make sure this gets into next release? We really need this fix, and we've been working with this fix locally for 3 months now and it works great |
atlanteh
commented
Apr 23, 2020
Why is this moved to milestone 3.6? This is a very small change. This PR is waiting for almost 6 months now. Please merge it 🙏 |
arkn98
commented
Apr 29, 2020
+1 Please get this merged. |
arwagner
commented
Jun 5, 2020
Need this fix merged ASAP, please. |
mrmckeb
commented
Jun 5, 2020
I'm really sorry this one slipped through. We had a quick chat and we think it's good to go, but we'd like to see a quick test added if that's OK @atlanteh? |
Adding resolve-url-loader broke all apps using scss with centralized assets folder and all url(./assets/*.png) broke (#7023). This change allows apps to use url(/assets/*.png) and it would map to src/assets/*.png
atlanteh
commented
Jun 6, 2020
@mrmckeb I added a test, though I see master is currently red, so my tests will fail as well. |
@mrmckeb This is the logo from the templates.. What do you mean by "It isn't loading"? Are you running the tests locally and you can see the results? If so, how? |
mrmckeb
commented
Jun 7, 2020
Sorry @atlanteh, I don't know what I did - it's fine, you're right. Hope you're having a great weekend, I'll get this merged in very shortly. |
* Support scss absolute path resolution for url() Adding resolve-url-loader broke all apps using scss with centralized assets folder and all url(./assets/*.png) broke (react#7023). This change allows apps to use url(/assets/*.png) and it would map to src/assets/*.png * test: Add global scss assets test
Adding resolve-url-loader broke all apps using scss with centralized assets folder and all
url(./assets/*.png)broke (#7023)This change allows apps to use
url(/assets/*.png)and it would map tosrc/assets/*.pngI tested this on my app which has an images directory and after upgrading to CRA 3.2.0 (from 2.1.2) it failed. After reading resolve-url-loader I added this option and changed the path to absolute
(/assets/*.png)and everything started working again