-
Notifications
You must be signed in to change notification settings - Fork 85
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
Plugin is always preloading and appending to body despite having linkstyles already in HTML #306
Comments
I have the same problem。This plugin add A stylesheet before B stylesheet in head element but add B stylesheet before A stylesheet in body I think it is a criticle bug By the way , I`m using nuxtjs and extractCSS set true |
It seems to cause bugs when use It v4.7.5, js module will be execute after css child dependencies will be fully loaded. In parent v4.7.5 -> v4.8 seems cause a breaking changes. I will try to create a minimal problem reproduction repo like for you to debug. |
👀 #307 |
Same problem here. Stylesheet links get appended both to head and body |
Same issue. Is author support this plugin yet? |
Fixed in version 4.10.0 |
Hi,
I am using the newest version of the Plugin + Webpack4.
Since the preload feature was added, it always adds the style tags to the body despite having them already in the HTML.
In my opinion it should not add the preload tags if the stylesheets are already added to the HTML.
https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/blob/master/src/index.js#L390
I think it is a bug, as I don't see any reason of adding the same stylesheet twice.
BR,
Kevin
The text was updated successfully, but these errors were encountered: