-
-
Notifications
You must be signed in to change notification settings - Fork 390
Closed
Description
- Operating System: Mac OS 10.14.4
- Node Version: v11.6.0
- NPM Version: 6.9.0
- webpack Version: 4.30.0
- mini-css-extract-plugin Version: 0.6.0
Expected Behavior
If we have a link in document which its href attribute is in data url form, reloadStyle() function shouldn't select and parse it. For example:
<link rel="shortcut icon" href="data:;base64,=">Actual Behavior
reloadStyle() function will select this link element and try to parse its href, then throws an error from getReloadUrl() function.
Uncaught TypeError: Failed to construct 'URL': Invalid URL
Code
no need?
How Do We Reproduce?
Add the link mentioned above to any html template.