We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The updated <link rel="preload stylesheet" ...> should be replaced (hot reloaded) without throwing error.
<link rel="preload stylesheet" ...>
I'm not sure that a preload stylesheet link should emit a load event twice, but it happens in Chrome and Firefox. I didn't tested in other browsers.
The following error is thrown in Chrome:
Uncaught TypeError: Cannot read property 'removeChild' of null at HTMLLinkElement.eval (hotModuleReplacement.js:105)
The following error is thrown in Firefox:
Uncaught TypeError: el.parentNode is null updateCss webpack://mini-css-extract-plugin-issue/./node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js?:105 [...]
https://github.com/cdoublev/mini-css-issue
Clone above repository. Run webpack serve. Open browser at localhost. Update src/style.css. Check error in the browser console.
webpack serve
localhost
src/style.css
The text was updated successfully, but these errors were encountered:
Fixed
Sorry, something went wrong.
Thank you! 👍
Successfully merging a pull request may close this issue.
Expected Behavior
The updated
<link rel="preload stylesheet" ...>
should be replaced (hot reloaded) without throwing error.I'm not sure that a preload stylesheet link should emit a load event twice, but it happens in Chrome and Firefox. I didn't tested in other browsers.
Actual Behavior
The following error is thrown in Chrome:
The following error is thrown in Firefox:
Code
https://github.com/cdoublev/mini-css-issue
How Do We Reproduce?
Clone above repository.
Run
webpack serve
.Open browser at
localhost
.Update
src/style.css
.Check error in the browser console.
The text was updated successfully, but these errors were encountered: