Closed
Description
In my webpack config I have my main entry with HTML+CSS, and I want this CSS to be injected. I use simple
new HtmlInlineCSSWebpackPlugin()
for doing this, and it works fine.
I also have a CopyWebpackPlugin, which copies some third party lib, which includes HTML+CSS files in its assets.
These CSS files are removed when being copied. They are not removed if I use leaveCSSFile: true
, but then the CSS file from main entry is not removed either.
I wonder why does this plugin deal with files from other plugin? But even if it does - I would expect these CSS get injected correctly in all HTML+CSS pairs it deals with. Currently it only REMOVES all of CSS files, without injecting them.