-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
[hmr] reloadStyle will trigger errors #377
Comments
/cc @ScriptedAlchemy I think it is easy to fix |
Looking into it now, hope to have PR ready soon. This weekend is a little busy |
@hsxfjames do you want to give this a try. #378 |
Fixed #378 |
Not works, because Consider to judge |
Oh, am I late?😂 |
|
@hsxfjames fix doesn't work for you? |
@evilebottnawi |
@hsxfjames thanks |
@hsxfjames will work on this tonight, then ask you to test it again |
looks like part of this fix broke some HMR for many @evilebottnawi faceyspacey/extract-css-chunks-webpack-plugin#170 I removed the line, so help my users - i am very bad with regex. Any ideas on what we need to do |
Expected Behavior
If we have a
link
in document which itshref
attribute is in data url form,reloadStyle()
function shouldn't select and parse it. For example:Actual Behavior
reloadStyle()
function will select thislink
element and try to parse itshref
, then throws an error fromgetReloadUrl()
function.Code
no need?
How Do We Reproduce?
Add the
link
mentioned above to any html template.The text was updated successfully, but these errors were encountered: