Is it possible to have html-webpack-plugin generate <style> elements from css?
问题 I have a static site where I am using Vue and Webpack. I have some global CSS rules in a file called style.css and I am importing them by using import './styles.css' from my index.js file. Additionally, I have some .vue files which generate their own CSS. To generate the HTML page, I am using html-webpack-plugin . My CSS rules appear to be applying correctly. However, the <style> tags which contain them are dynamically being added to the <head> of my page via the Javascript that Webpack