faceyspacey / faceyspacey/extract-css-chunks-webpack-plugin

Plugin is always preloading and appending to body despite having linkstyles already in HTML

Open
#306 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
693
Forks
83
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.